i915: Make hw_prim[] const
[mesa.git] / src / mesa / drivers / dri / i915 / intel_render.c
index 990f65c188cb6da723836524b2ee34a728c5e35b..6c2ad6c6c95457b2a1e5a706fd021efcd8e17308 100644 (file)
 #define HAVE_LINE_STRIPS 1
 #define HAVE_TRIANGLES   1
 #define HAVE_TRI_STRIPS  1
-#define HAVE_TRI_STRIP_1 0      /* has it, template can't use it yet */
 #define HAVE_TRI_FANS    1
 #define HAVE_POLYGONS    1
 
 #define HAVE_ELTS        0
 
-static uint32_t hw_prim[GL_POLYGON + 1] = {
+static const uint32_t hw_prim[GL_POLYGON + 1] = {
    0,
    PRIM3D_LINELIST,
    PRIM3D_LINESTRIP,