Improve OpenGL performance on the Raspberry Pi

Apparently 2 VBOs wasn't enough. This bumped the framerate from 13FPS
to 20FPS in a stress-test (CSE2E at 1704x960 on a Raspberry Pi 3B
in X11 with the KMS OpenGL driver).
This commit is contained in:
Clownacy 2020-01-25 14:22:50 +00:00
parent 517824216e
commit 99a8b2bd18

View file

@ -19,7 +19,7 @@
#include "../../Resource.h" #include "../../Resource.h"
#define TOTAL_VBOS 2 #define TOTAL_VBOS 8
#define ATTRIBUTE_INPUT_VERTEX_COORDINATES 1 #define ATTRIBUTE_INPUT_VERTEX_COORDINATES 1
#define ATTRIBUTE_INPUT_TEXTURE_COORDINATES 2 #define ATTRIBUTE_INPUT_TEXTURE_COORDINATES 2