Shader first pass

This commit is contained in:
2026-03-17 08:42:43 -05:00
parent 7356286fe0
commit ff92a78dda
24 changed files with 634 additions and 87 deletions

View File

@@ -0,0 +1,18 @@
/**
* Copyright (c) 2026 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "shadergl.h"
typedef shadergl_t shaderplatform_t;
typedef shaderdefinitiongl_t shaderdefinitionplatform_t;
#define shaderInitPlatform shaderInitGL
#define shaderBindPlatform shaderBindGL
#define shaderSetMatrixPlatform shaderSetMatrixGL
// #define shaderSetTexturePlatform shaderSetTextureGL
#define shaderDisposePlatform shaderDisposeGL