diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spec/oes_compressed_paletted_texture/oes_compressed_paletted_texture-api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/spec/oes_compressed_paletted_texture/oes_compressed_paletted_texture-api.c b/tests/spec/oes_compressed_paletted_texture/oes_compressed_paletted_texture-api.c index 13b0bba3f..15601987f 100644 --- a/tests/spec/oes_compressed_paletted_texture/oes_compressed_paletted_texture-api.c +++ b/tests/spec/oes_compressed_paletted_texture/oes_compressed_paletted_texture-api.c @@ -71,6 +71,7 @@ piglit_init(int argc, char **argv) piglit_require_extension("GL_OES_compressed_paletted_texture"); glGenTextures(1, &tex); + glBindTexture(GL_TEXTURE_2D, &tex); /* The OES_compressed_paletted_texture spec says: * |