mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-08-06 04:07:13 -04:00
Fixed type error stopping compilation
fixed issue where gl_indices was defined as a cc_uint16** despite "fillFunc" wanting a cc_uint16*
This commit is contained in:
parent
0624680953
commit
aedbcb51b2
@ -105,7 +105,7 @@ void Gfx_Create(void) {
|
|||||||
#ifndef CC_BUILD_GL11
|
#ifndef CC_BUILD_GL11
|
||||||
GfxResourceID Gfx_CreateIb2(int count, Gfx_FillIBFunc fillFunc, void* obj) {
|
GfxResourceID Gfx_CreateIb2(int count, Gfx_FillIBFunc fillFunc, void* obj) {
|
||||||
#ifndef GL_INDICES
|
#ifndef GL_INDICES
|
||||||
cc_uint16* gl_indices[GFX_MAX_INDICES];
|
cc_uint16 gl_indices[GFX_MAX_INDICES];
|
||||||
#endif
|
#endif
|
||||||
GfxResourceID id = NULL;
|
GfxResourceID id = NULL;
|
||||||
cc_uint32 size = count * sizeof(cc_uint16);
|
cc_uint32 size = count * sizeof(cc_uint16);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user