Browse Source

Fix build

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
be9b5d1612
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      dpf
  2. +1
    -1
      src/override/Window.cpp

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit 3106d9a311c33a677e14828348657d21343c569d
Subproject commit 0de149b8cbdc59d74273b7fc8b2193b0885afc33

+ 1
- 1
src/override/Window.cpp View File

@@ -509,7 +509,7 @@ void Window::step() {
#endif

// Allocate pixel color buffer
uint8_t* const pixels = new uint8_t[winHeight * winWidth * depth];
uint8_t* const pixels = new uint8_t[winHeight * winWidth * 4];

// glReadPixels defaults to GL_BACK, but the back-buffer is unstable, so use the front buffer (what the user sees)
glReadBuffer(GL_FRONT);


Loading…
Cancel
Save