dri/swrast: add OpenGL 2.1 functions
authorGeorge Sapountzis <gsap7@yahoo.gr>
Fri, 13 Jun 2008 12:48:34 +0000 (15:48 +0300)
committerGeorge Sapountzis <gsap7@yahoo.gr>
Fri, 13 Jun 2008 12:48:34 +0000 (15:48 +0300)
src/mesa/drivers/dri/swrast/swrast.c

index f41e331809497b9da580fadaa6e9de2bdb896940..282db7f86c6b09c7bca0018a6544b420ebe83dd3 100644 (file)
@@ -43,6 +43,7 @@
 #include "tnl/t_pipeline.h"
 #include "vbo/vbo.h"
 #include "drivers/common/driverfuncs.h"
+#include "utils.h"
 
 #include "swrast_priv.h"
 
@@ -51,6 +52,7 @@
 #define need_GL_VERSION_1_4
 #define need_GL_VERSION_1_5
 #define need_GL_VERSION_2_0
+#define need_GL_VERSION_2_1
 
 /* sw extensions for imaging */
 #define need_GL_EXT_blend_color
@@ -75,7 +77,6 @@
 #define need_GL_NV_fragment_program
 
 #include "extension_helper.h"
-#include "utils.h"
 
 const struct dri_extension card_extensions[] =
 {
@@ -83,6 +84,7 @@ const struct dri_extension card_extensions[] =
     { "GL_VERSION_1_4",                        GL_VERSION_1_4_functions },
     { "GL_VERSION_1_5",                        GL_VERSION_1_5_functions },
     { "GL_VERSION_2_0",                        GL_VERSION_2_0_functions },
+    { "GL_VERSION_2_1",                        GL_VERSION_2_1_functions },
 
     { "GL_EXT_blend_color",            GL_EXT_blend_color_functions },
     { "GL_EXT_blend_minmax",           GL_EXT_blend_minmax_functions },