able-action-74275
05/04/2023, 2:26 PMtall-teacher-57409
05/04/2023, 2:46 PMcpp
unsigned int VAO;
glGenVertexArrays(1, &VAO);
how do I write that one, can't find the alt in the docstall-teacher-57409
05/04/2023, 2:47 PMable-action-74275
05/04/2023, 2:48 PMtall-teacher-57409
05/04/2023, 2:48 PMtall-teacher-57409
05/04/2023, 2:49 PMable-action-74275
05/04/2023, 2:50 PMtall-teacher-57409
05/04/2023, 2:52 PMhttps://cdn.discordapp.com/attachments/769686258049351722/1103695729165348975/image.png▾
able-action-74275
05/04/2023, 2:57 PMtall-teacher-57409
05/04/2023, 2:58 PMpowerful-morning-89
05/04/2023, 2:58 PMtall-teacher-57409
05/04/2023, 3:00 PMWebGLRenderContext
tall-teacher-57409
05/04/2023, 3:00 PMtall-teacher-57409
05/04/2023, 3:00 PMtall-teacher-57409
05/04/2023, 3:00 PMpowerful-morning-89
05/04/2023, 3:01 PMtall-teacher-57409
05/04/2023, 3:02 PMpowerful-morning-89
05/04/2023, 3:03 PMcreateVertexArray
is only supported on Linux and iOS/tvOS.tall-teacher-57409
05/04/2023, 3:04 PMhallowed-ocean-84954
05/04/2023, 3:06 PMtall-teacher-57409
05/04/2023, 3:08 PMhttps://cdn.discordapp.com/attachments/769686258049351722/1103699604471554098/image.png▾
hallowed-ocean-84954
05/04/2023, 3:08 PMtall-teacher-57409
05/04/2023, 3:08 PMhallowed-ocean-84954
05/04/2023, 3:08 PMtall-teacher-57409
05/04/2023, 3:08 PMpowerful-morning-89
05/04/2023, 3:11 PM3 * 4
.
float
is a 32 bit floating point number, and thus takes up 4 bytes.tall-teacher-57409
05/04/2023, 3:11 PMhallowed-ocean-84954
05/04/2023, 3:13 PMbulky-insurance-39338
05/04/2023, 3:13 PM(context.webgl2 == null)
or same for context.webgl, context.gles3 and context.gles2tall-teacher-57409
05/04/2023, 3:13 PMUncaught exception: Null access
Called from Main.render(Main.hx:21)
Called from lime.app._Event_lime_graphics_RenderContext_Void.dispatch(lime/_internal/macros/EventMacro.hx:91)
Called from lime._internal.backend.native.NativeApplication.handleRenderEvent(lime/_internal/backend/native/NativeApplication.hx:371)
Called from lime._internal.backend.native.NativeApplication.exec(lime/_internal/backend/native/NativeApplication.hx:146)
Called from lime.app.Application.exec(lime/app/Application.hx:150)
Called from $ApplicationMain.start(ApplicationMain.hx:126)
Called from $ApplicationMain.create(ApplicationMain.hx:118)
Called from $ApplicationMain.main(ApplicationMain.hx:15)
Called from .init(?:1)
any idea why's that? 😞