Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3717e2a
)
ecere/gfx/OpenGLDisplayDriver: Fixed Display::Resize returning false when width/heigh...
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 14 Nov 2012 20:24:28 +0000
(15:24 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 14 Nov 2012 20:39:17 +0000
(15:39 -0500)
- This was preventing GuiApplication to construct properly and have proper value for 'fullScreen'
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
b/ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
index
6360d7c
..
11029fc
100644
(file)
--- a/
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
+++ b/
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec
@@
-1770,7
+1770,7
@@
class OpenGLDisplayDriver : DisplayDriver
oglDisplay.flipBufH = height;
oglDisplay.flippingBuffer = renew oglDisplay.flippingBuffer ColorAlpha [width * height];
}
- if(oglDisplay.flippingBuffer)
+ if(oglDisplay.flippingBuffer
|| !width || !height
)
result = true;
return result;