X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fextension.cpp;h=cd8c6297759d57494d8f372276e8a467a6d12d85;hb=c6c4fc39952e372eba1f44f2bc504428140f3d0e;hp=ba7dd4020d4ce9164a39e525ae520073b9fbe1cc;hpb=b8fef9be469eb16e54068bac7e275ea225efc71c;p=libs%2Fgl.git diff --git a/source/extension.cpp b/source/extension.cpp index ba7dd402..cd8c6297 100644 --- a/source/extension.cpp +++ b/source/extension.cpp @@ -1,12 +1,13 @@ /* $Id$ This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2007, 2009-2010 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ #include #ifndef WIN32 +#define GLX_GLXEXT_PROTOTYPES #include #endif #include @@ -76,6 +77,8 @@ const Version &get_gl_version() init_version_1_2(); if(combined>=0x103) init_version_1_3(); + + init_done = true; } return version;