~l3kn/quad

5850cbe5fbccdfa250b23174be169bc4ef0ba57c — Leon Rische 6 months ago 42eb966
m
2 files changed, 3 insertions(+), 4 deletions(-)

M config.h
M quad.c
M config.h => config.h +1 -3
@@ 1,6 1,4 @@
#define SIZE 360
#define BW 1
#define FLIP
#define SIZE 720

#define PADDING_X 0
#define PADDING_Y 20

M quad.c => quad.c +2 -1
@@ 229,7 229,8 @@ int main(void) {
  size_t height = dm.h;
  printf("%d,%d\n", dm.w, dm.h);

  if (SDL_CreateWindowAndRenderer(WIDTH, HEIGHT, 0,
  if (SDL_CreateWindowAndRenderer(WIDTH, HEIGHT,
                                  SDL_WINDOW_ALLOW_HIGHDPI,
                                  &window, &windowRenderer) != 0) {
    printf("Error creating window & renderer: %s\n", SDL_GetError());
    return 1;