Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
66 user(s) are online (52 user(s) are browsing Forums)

Members: 0
Guests: 66

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: The MiniGL thread

Subject: Re: The MiniGL thread
by Capehill on 2019/3/31 16:31:16

Jump from SDL2 topic: http://www.amigans.net/modules/xforum ... id=113935#forumpost113935

It seems that MiniGL doesn't support glGetIntegerv(GL_DOUBLEBUFFER). It would be seemingly simple to add, something like:

Quote:

Index: src/state_get.c
===================================================================
--- src/state_get.c (revision 541)
+++ src/state_get.c (working copy)
@@ -728,6 +728,10 @@
}
#endif

+ case GL_DOUBLEBUFFER:
+ READ_BOOL1(context->NumBuffers > 1);
+ break;
+
/* -------------- ONLY ENABLES BEYOND THIS POINT ---------------------- */
/* FIXME: Add other state not required for second milestone */


I can make a BZ ticket if feature seems worth adding.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project