diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-18 01:21:46 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-05-18 01:21:46 +0200 |
commit | f1a970ec30062328ae5bd4d30f118c175f051d5c (patch) | |
tree | 5931bebaa8a1a629a79a19a7bbc1ec926afb7934 /src/GPU3D_OpenGL43.cpp | |
parent | de287825eec01aaa5e8ab925171cd75d86a23cb4 (diff) |
actually finish display capture in hardware-accel mode
Diffstat (limited to 'src/GPU3D_OpenGL43.cpp')
-rw-r--r-- | src/GPU3D_OpenGL43.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/GPU3D_OpenGL43.cpp b/src/GPU3D_OpenGL43.cpp index 72956fb..71960ae 100644 --- a/src/GPU3D_OpenGL43.cpp +++ b/src/GPU3D_OpenGL43.cpp @@ -272,7 +272,6 @@ bool Init() glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); - glFramebufferTexture(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, FramebufferTex[0], 0); glBindTexture(GL_TEXTURE_2D, FramebufferTex[1]); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); |