fixed bugs in windows context creation, which would result in some times
authorJohn Tsiombikas <nuclear@member.fsf.org>
Fri, 31 Dec 2021 12:03:52 +0000 (14:03 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Fri, 31 Dec 2021 12:03:52 +0000 (14:03 +0200)
commite3014380a9def496d2a259af5792cbd92d670dde
tree36ed54f0571980036020f51da18c74e80aa4bb8d
parentd6833c2db04aefb3fd972af7e723e0975fba7181
fixed bugs in windows context creation, which would result in some times
choosing non-accelerated pixel formats:
 - forgot to add the (WGL_ACCELERATION, WGL_FULL_ACCELERATION) pair to
   the attributes passed to wglChoosePixelFormat.
 - fixed attributes in the beginning of the list were overwritten by the
   addition of extra attributes due to init flags.
miniglut.c
miniglut.h