diff options
author | Paul Berry <stereotype441@gmail.com> | 2012-03-11 12:02:37 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2012-03-23 13:39:58 -0700 |
commit | b0ff4c3c635d552d4988f13f956b61f3e7d6bc8c (patch) | |
tree | 0ca0025a5a46f99bc21133c8eaa15afdb7f00c79 | |
parent | e2db52f30ca9159622ec081865f4cabb26a22433 (diff) |
Remove GLEW workarounds.
This patch removes workarounds that were in place to compensate for
bugs in GLEW.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | tests/spec/arb_instanced_arrays/instanced_arrays.c | 4 | ||||
-rw-r--r-- | tests/util/CMakeLists.gl.txt | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/tests/spec/arb_instanced_arrays/instanced_arrays.c b/tests/spec/arb_instanced_arrays/instanced_arrays.c index 2fd0c226..ce8318f0 100644 --- a/tests/spec/arb_instanced_arrays/instanced_arrays.c +++ b/tests/spec/arb_instanced_arrays/instanced_arrays.c @@ -162,10 +162,6 @@ piglit_init(int argc, char **argv) piglit_require_GLSL(); piglit_require_extension("GL_ARB_instanced_arrays"); - /* Workaround a GLEW bug: */ - glDrawArraysInstancedARB = (PFNGLDRAWARRAYSINSTANCEDARBPROC)piglit_get_proc_address("glDrawArraysInstancedARB"); - glDrawElementsInstancedARB = (PFNGLDRAWELEMENTSINSTANCEDARBPROC)piglit_get_proc_address("glDrawElementsInstancedARB"); - VertShader = piglit_compile_shader_text(GL_VERTEX_SHADER, VertShaderText); assert(VertShader); diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt index 2c13a737..1052c269 100644 --- a/tests/util/CMakeLists.gl.txt +++ b/tests/util/CMakeLists.gl.txt @@ -16,13 +16,6 @@ set(UTIL_SOURCES sized-internalformats.c ) -# glew.c is copied verbatim from upstream and has C99 on MacOSX so silent the warnings -if (C_COMPILER_FLAG_WDECL_AFTER_STMT) - set_property (SOURCE glew.c - PROPERTY COMPILE_FLAGS -Wno-declaration-after-statement - ) -endif () - IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") # XXX: This is currently duplicated wherever tests # include "piglit-glx-util.h". Is it possible to refactor it? |