~l3kn/quad

3f52db33e4aeaeebc4303d15ceb4e17c8651d18b — Leon Rische 9 months ago 523ef9d
Use rgb surface for grammar
1 files changed, 2 insertions(+), 2 deletions(-)

M quad.c
M quad.c => quad.c +2 -2
@@ 295,8 295,8 @@ int main(int argc, char* argv[]) {
    return 1;
  }

  /* grammarSurface = SDL_CreateRGBSurface(0, SIZE, SIZE, 32, 0, 0, 0, 0); */
  grammarSurface = SDL_GetWindowSurface(window);
  grammarSurface = SDL_CreateRGBSurface(0, SIZE, SIZE, 32, 0, 0, 0, 0);
  /* grammarSurface = SDL_GetWindowSurface(window); */
  if (grammarSurface == NULL) {
    SDL_Log("SDL_CreateRGBSurface() failed: %s", SDL_GetError());
    exit(1);