i915: Make hw_prim[] const

The table used to map the GL primitive to the hw primitive never
changes so make it const.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Ville Syrjälä
2015-03-23 14:47:28 +02:00
committed by Ian Romanick
parent 84fec757de
commit aae0c88797
+1 -1
View File
@@ -66,7 +66,7 @@
#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,