Skip to content

Commit

Permalink
test_gl: reactivate glDeleteTextures now that it doesn't crash anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky committed Jun 22, 2023
1 parent 2207f66 commit f09135d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ void test_gl_texture_completeness(TestContext *ctx)
glEnable(GL_TEXTURE_2D);
GLuint handle;
glGenTextures(1, &handle);
// FIXME: this causes a RSP crash... why?
// DEFER(glDeleteTextures(1, &handle));
DEFER(glDeleteTextures(1, &handle));

glBindTexture(GL_TEXTURE_2D, handle);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
Expand Down

0 comments on commit f09135d

Please sign in to comment.