aboutsummaryrefslogtreecommitdiff
path: root/tests/gl_ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gl_ps.c')
-rw-r--r--tests/gl_ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gl_ps.c b/tests/gl_ps.c
index 81579c1d..a8a6807f 100644
--- a/tests/gl_ps.c
+++ b/tests/gl_ps.c
@@ -78,6 +78,8 @@ void shaders() {
glLinkProgram(program);
glGetProgramiv(program, GL_LINK_STATUS, &ok);
assert(ok);
+ assert(glIsProgram(program));
+ assert(!glIsProgram(-1));
glUseProgram(program);