On 24.03.2015 14:53, Emmanuele Bassi wrote: > Hi; > > On 24 March 2015 at 11:34, LRN <lrn1986@xxxxxxxxx> wrote: > >>>> Provided that libepoxy is appropriately-patched to consider OpenGL 1.1 to be >>>> the core implementation provided by opengl32.dll >>>> (otherwise it may crash at runtime when you try to call OpenGL 1.1 functions). >>> >>> You mean all functions that were added in OpenGL 1.1 and not >>> deprecated after OpenGL 3.2? >>> >>> GTK+ does not support legacy profiles, so using deprecated, pre-3.2 >>> API is not going to be possible in any case. >> >> Well, according to libepoxy, glDrawArrays is a 1.1 function: > > Yes, and it's not deprecated by GL 3.2 — as opposed to, say, glRotatef > — which is what I wanted to know. > > I've seen that you opened a ticket on libepoxy's issue tracker; do you > also have a patch that we can add to jhbuild, while we wait for Eric > Anholt to fix the issue upstream? Sure, here it is. I'm not sure this is the right thing to do (there are other possibilities, mentioned in that issue on github), but this is what allows gtk-demo to work, so i'm content with that for now. -- O< ascii ribbon - stop html email! - www.asciiribbon.org
--- libepoxy-1.2/src/dispatch_common.c.orig 2015-03-21 17:21:52.318618600 +0000 +++ libepoxy-1.2/src/dispatch_common.c 2015-03-21 17:31:50.416567400 +0000 @@ -493,7 +493,7 @@ epoxy_get_core_proc_address(const char *name, int core_version) { #ifdef _WIN32 - int core_symbol_support = 10; + int core_symbol_support = 11; #else int core_symbol_support = 12; #endif
Attachment:
0x922360B0.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list