Fixed bug #252: menu windows are drawn with immediate mode and the fixed
authorJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 25 Sep 2019 10:08:07 +0000 (10:08 +0000)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Wed, 25 Sep 2019 10:08:07 +0000 (10:08 +0000)
commit7ab67cb06e3e8f5ea8608f30a2973a7a5e351416
treeba7a620c051f460dd0e89cd25baf75fd5c53830a
parent3d4680fc4be412ef0cbb62f96fc4f358fb3f9b16
Fixed bug #252: menu windows are drawn with immediate mode and the fixed
function pipeline, and therefore we must make sure the context created for them
is not a core profile context. Previously if the user requested a core profile
context, this would apply to menu windows too, and they would appear black.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1855 7f0cb862-5218-0410-a997-914c9d46530a
src/fg_internal.h
src/fg_window.c
src/mswin/fg_window_mswin.c
src/x11/fg_window_x11_glx.c