Hi, On Mon, 2009-06-22 at 17:04 +0200, Andreas Halm wrote: > Hi, > > > Using CS_OWNDC for OpenGL windows is strongly recommended as as far as > > I > > remember from general OpenGL discussions, some drivers might not work > > without it. I'll see if we can find a way to query for that so we can > > warn if it is missing. Is there a reason why you would not want to set > > it ? > > Of course I know that, and I have no idea why it is missing in the original > code (not my code btw). The other thing you might want to think about is: If > the code does not work with CS_OWNDC not being set, why not get rid of > ReleaseDC altogether? You know that you don't need to call ReleaseDC when > CS_OWNDC is set.
Similar answer ;) it is not my code and most likely was originally taken from a tutorial. And as it never broke so far nobody really looked at it. And for most of us windows is not our native homeground so most of the time we are happy if it just works ;) kind regards, gerrit ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
