diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-16 00:30:55 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-05-16 00:30:55 +0200 |
commit | f2725791d8c3b5f00ddc830691ed556b48f2f508 (patch) | |
tree | 7c0b736f8940ed930d84220fab6f9144cf03d8e5 /src/GPU3D_OpenGL43.cpp | |
parent | 256b8cb69c751f43a7766eafc6f8798eefa3217e (diff) |
preliminary, shitty, code for drawing the main window with OpenGL
Diffstat (limited to 'src/GPU3D_OpenGL43.cpp')
-rw-r--r-- | src/GPU3D_OpenGL43.cpp | 7 |
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) |