diff options
| author | onelin <oscar@nelin.dk> | 2025-03-19 20:57:21 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-03-19 21:05:41 +0000 |
| commit | c9728b92149943f1422283ebf9e8e3eef71a13e1 (patch) | |
| tree | d2532d19971aff3b3c8b540c9f46c04096e1cacd /src/core | |
| parent | 4af788b4a0d05dbf6816a21aeee2d233fb4e87e6 (diff) | |
Resize to framesize
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/src/loop.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/core/src/loop.c b/src/core/src/loop.c index 07ce707..1c1ec52 100644 --- a/src/core/src/loop.c +++ b/src/core/src/loop.c @@ -127,21 +127,6 @@ Platform* engine_init(const char* windowtitle, i32 windowWidth, i32 windowHeight init_render_opengl(w); - //// Generate 1 buffer, put the resulting identifier in vertexbuffer - //gl->GenBuffers(1, &(testobject->vbo)); - //// The following commands will talk about our 'vertexbuffer' buffer - //gl->BindBuffer(GL_ARRAY_BUFFER, testobject->vbo); - //// Give our vertices to OpenGL. - //gl->BufferData(GL_ARRAY_BUFFER, sizeof(bufdata), bufdata, GL_STATIC_DRAW); - - //// Same for the color buffer - //gl->GenBuffers(1, &(testobject->col)); - //gl->BindBuffer(GL_ARRAY_BUFFER, testobject->col); - //gl->BufferData(GL_ARRAY_BUFFER, sizeof(g_color_buffer_data), g_color_buffer_data, GL_STATIC_DRAW); - - //testobject->shaderprogram = LoadShaders(gl, "shader.vertexshader", "shader.fragmentshader"); - //INFO("Shaderprogram %d", testobject->shaderprogram); - //{ /* Resource loading */ // /* Count resources */ |
