create framebuffer object

This commit is contained in:
Gregory Wells
2025-08-18 23:02:56 -04:00
parent 51bd6e28fa
commit 453f7b70db
4 changed files with 66 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
#include "framebuffer/opengl_framebuffer.h"
#include "graphics_pipeline/opengl_graphics_pipeline.h"
#include "submit/opengl_submit.h"
#include "present/opengl_present.h"
gnDeviceFunctions loadOpenGLDeviceFunctions() {
return (gnDeviceFunctions){
@@ -53,7 +54,7 @@ gnDeviceFunctions loadOpenGLDeviceFunctions() {
._gnDestroyTexture = openglDestroyTexture,
._gnSubmit = openglSubmit,
._gnPresent = NULL,
._gnPresent = openglPresent,
._gnWaitForDevice = waitForOpenGLDevice
};