Skip to content

Commit

Permalink
Fix gl.c for gcc 14.1.1 (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
gogoprog committed Sep 6, 2024
1 parent 307d425 commit f0609db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/sdl/gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ HL_PRIM void HL_NAME(gl_multi_draw_elements_indirect)( int mode, int type, vbyte

HL_PRIM void HL_NAME(gl_multi_draw_elements_indirect_count)(int mode, int type, vbyte* data, vbyte* drawcount, int maxdrawcount, int stride) {
GL_IMPORT_OPT(glMultiDrawElementsIndirectCountARB, MULTIDRAWELEMENTSINDIRECTCOUNTARB)
glMultiDrawElementsIndirectCountARB(mode, type, data, drawcount, maxdrawcount, stride);
glMultiDrawElementsIndirectCountARB(mode, type, data, (GLintptr)drawcount, maxdrawcount, stride);
}

HL_PRIM int HL_NAME(gl_get_config_parameter)( int feature ) {
Expand Down

0 comments on commit f0609db

Please sign in to comment.