Opengl viewport becomes darker when resizing GWEN window

33 views
Skip to first unread message

Bob Smith

unread,
Oct 16, 2012, 2:57:42 PM10/16/12
to gwen-d...@googlegroups.com
I noticed a bug(?) where it darkens the opengl viewport(the context where opengl renders) when one resizes the gwen window inside the viewport. It happens in certain sizes, usually when it has been resized vertically. I think it may have something to do with the blending/alpha functions gwen does while rendering, because setting GL_BLEND to disabled partially fixes the problem. The problem will come back when one tries to draw anything on the viewport after setting GL_BLEND to disabled.

I'd really hope an answer, or workaround, because the framework itself seems to be pretty professional and well-designed. For now I have to pass on this one because the bug makes anything non-GWEN rendering problematic.
Reply all
Reply to author
Forward
0 new messages