aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D_OpenGL43.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU3D_OpenGL43.cpp')
-rw-r--r--src/GPU3D_OpenGL43.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GPU3D_OpenGL43.cpp b/src/GPU3D_OpenGL43.cpp
index 3a2a3f1..b3e0856 100644
--- a/src/GPU3D_OpenGL43.cpp
+++ b/src/GPU3D_OpenGL43.cpp
@@ -732,7 +732,8 @@ bool ChunkedRendering = false;
bool InitGLExtensions()
{
- if (!OpenGL_Init()) return false;
+ // TODO move this elsewhere!!
+ //if (!OpenGL_Init()) return false;
return true;
}
@@ -1385,7 +1386,7 @@ void VCount144()
}
void RenderFrame()
-{
+{return;
ShaderConfig.uScreenSize[0] = ScreenW;
ShaderConfig.uScreenSize[1] = ScreenH;
ShaderConfig.uDispCnt = RenderDispCnt;
@@ -1544,7 +1545,7 @@ void RenderFrame()
u32* GetLine(int line)
{
int stride = 256 << (ScaleFactor*2);
-
+return &Framebuffer[stride * line];
if (!ChunkedRendering)
{
if (line == 0)