[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/libs/kgllib/extras/kgllib
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2009-07-20 16:00:36
Message-ID: 1248105636.041047.24189.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 999933 by rivol:

Extension checks must use GLEW_*, not GL_*

 M  +2 -2      hdrglwidget.cpp  


--- trunk/playground/libs/kgllib/extras/kgllib/hdrglwidget.cpp #999932:999933
@@ -123,12 +123,12 @@
         qDebug() << "Rendertargets aren't supported";
         return;
     }
-    if (!GL_ARB_texture_float) {
+    if (!GLEW_ARB_texture_float) {
         qDebug() << "Floating-point textures aren't supported";
         return;
     }
 
-    if (GL_ARB_color_buffer_float) {
+    if (GLEW_ARB_color_buffer_float) {
         // TODO: this doesn't seem to be supported on ATI cards - would be nice
         //  if there was another rendering path for those (e.g. downscale
         //  using shaders)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic