Skip to content

Commit

Permalink
Fix OpenGL ES compilation again
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Mar 1, 2025
1 parent 2ebf0b1 commit 68ec4f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backends/gpu/opengl/sources/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
#include <string.h>

void kore_opengl_buffer_set_name(kore_gpu_buffer *buffer, const char *name) {
#ifndef KORE_OPENGL_ES
glObjectLabel(GL_BUFFER, buffer->opengl.buffer, (GLsizei)strlen(name), name);
#endif
}

void kore_opengl_buffer_destroy(kore_gpu_buffer *buffer) {
Expand Down
1 change: 1 addition & 0 deletions backends/gpu/opengl/sources/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#endif

#include <assert.h>
#include <stdlib.h>

#ifdef KORE_WINDOWS
static HGLRC context;
Expand Down

0 comments on commit 68ec4f6

Please sign in to comment.