Search found 3 matches

by sawada
Tue Sep 30, 2014 4:12 am
Forum: Bug reports
Topic: 2Ddraw coordinate bug(Win)
Replies: 3
Views: 993

Re: 2Ddraw coordinate bug(Win)

testcode   #include <irrlicht.h>   using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui;   #ifdef _IRR_WINDOWS_ #pragma comment(lib, "Irrlicht.lib") #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTSt...
by sawada
Mon Sep 29, 2014 2:52 am
Forum: Bug reports
Topic: 2Ddraw coordinate bug(Win)
Replies: 3
Views: 993

2Ddraw coordinate bug(Win)

Satisfies the following cases, the coordinate system of the 2D drawing (ex: draw2DImage ,drawPixel) seems to be abnormal. 1)non-power-of-two textures NOT supported 2)use setRenderTarget() I think, perhaps, the following code is the cause. CD3D9Driver.cpp:865:  CD3D9Driver::setRenderTarget()   Curren...
by sawada
Thu Mar 20, 2014 4:52 pm
Forum: Bug reports
Topic: getScreenSize() bug (Win)
Replies: 5
Views: 1472

getScreenSize() bug (Win)

I've found a bug. getScreenSize() is expected to return a value of a window's client area. But, Only when using the external window , getScreenSize() is not that. because GetWindowRect() is used. GetClientRect() is correctly. irrlicht-1.8.1/source/Irrlicht/CIrrDeviceWin32.cpp line1010-       else if...