From 5011ea1b44c055893c691e923f4e82cdaebd5b0c Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 13 Nov 2024 12:27:58 -0500 Subject: move gl functions out of balls.c --- config.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 5fa5d5b..1427467 100644 --- a/config.h +++ b/config.h @@ -1,5 +1,10 @@ -#define CL_TARGET_OPENCL_VERSION 110 - /* #define WINDOWS 1 */ +#define CL_TARGET_OPENCL_VERSION 110 +#define WINDOW_TITLE "Balls" enum { FPS = 60 }; /* Frames per second. */ +enum window { + WIDTH = 640, + HEIGHT = 640, +}; +enum { CIRCLE_POINTS = 24 }; /* Number of vertices per circle. */ -- cgit v1.2.3