Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Doesn't display unless window is stretched or maximized

Author
Message
afaik
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: NYC
Posted: 8th Sep 2011 22:46
I'm not sure if I'm having a common issue or it's something to do with my hardware. There are times when nothing in the DarkGDK window is shown unless the screen size is stretched or maximized.

For example, this will not display anything unless the DarkGDK is clicked on and resized:



Where as, this will without me having to resize the window:


Any insight into this problem will be appreciated.
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 9th Sep 2011 14:18 Edited at: 9th Sep 2011 14:22
In your second snippet you haven't put a dbSync(). But that being said, there have been issues with some 2d primitive drawing commands on some graphics card.

Try putting your drawing command in a loop:



Warning! May contain Nuts!

Login to post a reply

Server time is: 2024-10-02 19:17:17
Your offset time is: 2024-10-02 19:17:17