From 80312e06b5a19e1ad6c6317680909b8f51868867 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 Mar 2012 00:27:26 +0300 Subject: Fix code style. --- src/openglgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openglgraphics.cpp') diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 551545dd3..1c1e2f2e0 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -1055,7 +1055,7 @@ void OpenGLGraphics::prepareScreenshot() glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, w, h, 0, - GL_RGBA, GL_UNSIGNED_BYTE, 0); + GL_RGBA, GL_UNSIGNED_BYTE, nullptr); glBindTexture(GL_TEXTURE_2D, 0); // create a renderbuffer object to store depth info -- cgit v1.2.3-70-g09d2