aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GPU3D.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp
index a02e286..7b30426 100644
--- a/src/GPU3D.cpp
+++ b/src/GPU3D.cpp
@@ -2579,13 +2579,11 @@ u32 ScrolledLine[256];
u32* GetLine(int line)
{
- u32* rawline;
+ u32* rawline = NULL;
if (GPU::Renderer == 0) rawline = SoftRenderer::GetLine(line);
#ifdef OGLRENDERER_ENABLED
else rawline = GLRenderer::GetLine(line);
-#else
- return NULL;
#endif
if (RenderXPos == 0) return rawline;