Added GL_ARB_point_parameters support for i830.
authorIan Romanick <idr@us.ibm.com>
Sun, 19 Sep 2004 07:15:38 +0000 (07:15 +0000)
committerIan Romanick <idr@us.ibm.com>
Sun, 19 Sep 2004 07:15:38 +0000 (07:15 +0000)
src/mesa/drivers/dri/i915/i830_vtbl.c
src/mesa/drivers/dri/i915/i915_context.c
src/mesa/drivers/dri/i915/intel_context.c

index e1ddce2..b0a7287 100644 (file)
@@ -87,6 +87,10 @@ static void i830_render_start( intelContextPtr intel )
       intel->coloroffset = 3;
    }
 
+   if (index & _TNL_BIT_POINTSIZE) {
+      EMIT_ATTR( _TNL_ATTRIB_POINTSIZE, EMIT_1F, VFT0_POINT_WIDTH );
+   }
+
    EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4UB_4F_BGRA, VFT0_DIFFUSE );
       
    intel->specoffset = 0;
index 87408b6..4cfc502 100644 (file)
@@ -48,7 +48,6 @@
 static const char * const card_extensions[] =
 {
    "GL_ARB_fragment_program",
-   "GL_ARB_point_parameters",
    "GL_ARB_texture_cube_map",
    NULL
 };
index e32a98b..610e0f5 100644 (file)
@@ -142,6 +142,7 @@ static const char * const card_extensions[] =
 {
    "GL_ARB_multisample",
    "GL_ARB_multitexture",
+   "GL_ARB_point_parameters",
    "GL_ARB_texture_border_clamp",
    "GL_ARB_texture_compression",
    "GL_ARB_texture_env_add",