On 07/27/2015 02:13 PM, Nanley Chery wrote: > From: Nanley Chery <nanley.g.ch...@intel.com> > > Without glBindTexture(), the test was unintentionally modifying the default > texture object. Make it use the generated texture instead. > > Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com> > Cc: Ian Romanick <ian.d.roman...@intel.com> > --- > .../oes_compressed_paletted_texture-api.c | 1 > + > 1 file changed, 1 insertion(+) > > 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 4d9f5b7..d8973d4 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 > @@ -70,6 +70,7 @@ piglit_init(int argc, char **argv) > piglit_require_extension("GL_OES_compressed_paletted_texture"); > > glGenTextures(1, &tex); > + glBindTexture(GL_TEXTURE_2D, &tex);
I think you meant "glBindTexture(GL_TEXTURE_2D, tex);" Shows how much my review is worth... derp. > /* The OES_compressed_paletted_texture spec says: > * > _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit