Fix various shaders problems, and tune command buffer size.

This commit is contained in:
TSnake41 2021-10-30 17:11:36 +02:00
commit 3221cfd1c7

View file

@ -15,7 +15,7 @@
*
********************************************************************************************/
#include <stdint.h>
#include <stdlib.h>
#include "raylib.h"
#include "rlgl.h"
@ -27,7 +27,7 @@
#define SSBO_SIZE (sizeof(unsigned int) * GOL_WIDTH * GOL_WIDTH)
// Maximum amount of queued draw commands (squares draw from mouse down events).
#define MAX_BUFFERED_TRANSFERTS 128
#define MAX_BUFFERED_TRANSFERTS 48
struct GolUpdateCmd {
unsigned int x; // x coordinate of the gol command