summaryrefslogtreecommitdiff
path: root/tests/fbo
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo')
-rw-r--r--tests/fbo/fbo-rg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fbo/fbo-rg.c b/tests/fbo/fbo-rg.c
index fd200642e..ca5042ac3 100644
--- a/tests/fbo/fbo-rg.c
+++ b/tests/fbo/fbo-rg.c
@@ -409,7 +409,7 @@ usage(const char *name)
void
piglit_init(int argc, char **argv)
{
- GLenum internal_format;
+ GLenum internal_format = GL_NONE;
const char *fmt;
if ((argc == 1) || (strncmp(argv[1], "GL_R", 4) != 0))