create cpp files and functions for OpenGL shaders

This commit is contained in:
Gregory Wells
2025-08-12 20:27:41 -04:00
parent 317ffda9e7
commit c51c29f7a4
5 changed files with 20 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
#include "opengl_loader.h"
#include "device/opengl_output_device.h"
#include "presentation_queue/opengl_presentation_queue.h"
#include "shaders/opengl_shader_module.h"
gnDeviceFunctions loadOpenGLDeviceFunctions() {
return (gnDeviceFunctions){
@@ -8,8 +9,8 @@ gnDeviceFunctions loadOpenGLDeviceFunctions() {
._gnPresentationQueueGetImage = getOpenGLPresentationQueueImage,
._gnDestroyPresentationQueue = destroyOpenGLPresentationQueue,
._gnCreateShaderModule = NULL,
._gnDestroyShaderModule = NULL,
._gnCreateShaderModule = openglCreateShaderModule,
._gnDestroyShaderModule = openglDestroyShaderModule,
._gnCreateRenderPassDescriptor = NULL,
._gnDestroyRenderPassDescriptor = NULL,