OpenGL texture API

This commit is contained in:
Gregory Wells
2025-08-18 20:24:17 -04:00
parent 2e02bbf799
commit 5db32f367a
3 changed files with 42 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
#include "uniforms/uniform/opengl_uniform.h"
#include "commands/pool/opengl_command_pool.h"
#include "buffer/opengl_buffer.h"
#include "textures/opengl_texture.h"
gnDeviceFunctions loadOpenGLDeviceFunctions() {
return (gnDeviceFunctions){
@@ -44,9 +45,9 @@ gnDeviceFunctions loadOpenGLDeviceFunctions() {
._gnUpdateStorageUniform = openglUpdateStorageUniform,
._gnUpdateImageUniform = openglUpdateImageUniform,
._gnCreateTexture = NULL,
._gnTextureData = NULL,
._gnDestroyTexture = NULL,
._gnCreateTexture = openglCreateTexture,
._gnTextureData = openglTextureData,
._gnDestroyTexture = openglDestroyTexture,
._gnSubmit = NULL,
._gnPresent = NULL,