summaryrefslogtreecommitdiff
path: root/src/renderer/backends/backend_opengl.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 12:00:37 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 12:00:37 +1000
commitd6837defc03e431517f6616ec8e49a8eb3643011 (patch)
tree14e6685c86d268dfc08f3f831e7ee9b19efc60e0 /src/renderer/backends/backend_opengl.c
parent8dae0a94059bd21a5a10e4434cadc843126d8b05 (diff)
Start moving more files to using ral.h
Diffstat (limited to 'src/renderer/backends/backend_opengl.c')
-rw-r--r--src/renderer/backends/backend_opengl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderer/backends/backend_opengl.c b/src/renderer/backends/backend_opengl.c
index a9f7482..ffeb051 100644
--- a/src/renderer/backends/backend_opengl.c
+++ b/src/renderer/backends/backend_opengl.c
@@ -5,7 +5,9 @@
#include "file.h"
#include "log.h"
#include "maths_types.h"
-#include "render_types.h"
+// #include "render_types.h"
+#include "cleanroom/types.h"
+#include "ral.h"
#if CEL_REND_BACKEND_OPENGL
@@ -60,7 +62,7 @@ void clear_screen(vec3 colour) {
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
-void texture_data_upload(texture* tex) {
+void texture_data_upload(texture *tex) {
printf("Texture name %s\n", tex->name);
TRACE("Upload texture data");
u32 texture_id;