Skip to content

Commit

Permalink
Created branch for portablegl
Browse files Browse the repository at this point in the history
  • Loading branch information
josch1710 committed Apr 15, 2024
1 parent 424ad68 commit 65638d6
Show file tree
Hide file tree
Showing 5 changed files with 648 additions and 37 deletions.
2 changes: 1 addition & 1 deletion src/Graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ CC_API void Gfx_UnlockVb(GfxResourceID vb);
/* Special case of Gfx_Create/LockVb for building chunks in Builder.c */
GfxResourceID Gfx_CreateVb2(void* vertices, VertexFormat fmt, int count);
#endif
#ifdef CC_BUILD_GLMODERN
#if defined CC_BUILD_GLMODERN || defined CC_BUILD_PORTABLEGL
/* Special case Gfx_BindVb for use with Gfx_DrawIndexedTris_T2fC4b */
void Gfx_BindVb_Textured(GfxResourceID vb);
#else
Expand Down
2 changes: 1 addition & 1 deletion src/Graphics_GL1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "Core.h"
#if defined CC_BUILD_GL && !defined CC_BUILD_GLMODERN
#if defined CC_BUILD_GL && !defined CC_BUILD_GLMODERN && !defined CC_BUILD_PORTABLEGL
#include "_GraphicsBase.h"
#include "Errors.h"
#include "Window.h"
Expand Down
Loading

0 comments on commit 65638d6

Please sign in to comment.