mesa: add ARB_texture_buffer_range glTextureBufferRangeEXT function
[mesa.git] / src / mesa / main / tests / program_state_string.cpp
index 418c39c8ea91638f7b64123ed404f60932419f64..38805f92c77b25dc96f5d5c15c070c4d635bc5da 100644 (file)
 
 #include <gtest/gtest.h>
 
-extern "C" {
 #include "GL/gl.h"
 #include "GL/glext.h"
-#include "main/compiler.h"
-}
 
 #include "program/prog_statevars.h"
 
 TEST(program_state_string, depth_range)
 {
-   const gl_state_index state[STATE_LENGTH] = {
+   const gl_state_index16 state[STATE_LENGTH] = {
       STATE_DEPTH_RANGE
    };