Updated GLAD

This commit is contained in:
korenkonder
2025-04-23 19:12:55 +03:00
parent bb32c42f62
commit 932a2c8a0f
8 changed files with 20 additions and 1490 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+11 -1486
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
/*
WGL loader generated by glad 0.1.36 on Wed Aug 23 09:42:16 2023.
WGL loader generated by glad 0.1.36 on Wed Apr 23 10:45:44 2025.
Language/Generator: C/C++
Specification: wgl
+3 -3
View File
@@ -280,11 +280,11 @@ void texture_get_format_type_by_internal_format(GLenum internal_format, GLenum*
GLenum _type;
switch (internal_format) {
case GL_ALPHA8:
_format = GL_R;
_format = GL_RED;
_type = GL_UNSIGNED_BYTE;
break;
case GL_LUMINANCE8:
_format = GL_R;
_format = GL_RED;
_type = GL_UNSIGNED_BYTE;
break;
case GL_LUMINANCE8_ALPHA8:
@@ -292,7 +292,7 @@ void texture_get_format_type_by_internal_format(GLenum internal_format, GLenum*
_type = GL_UNSIGNED_BYTE;
break;
case GL_INTENSITY8:
_format = GL_R;
_format = GL_RED;
_type = GL_UNSIGNED_BYTE;
break;
case GL_RGB5:
+5
View File
@@ -11,6 +11,11 @@
#include "gl.hpp"
#include <map>
#define GL_ALPHA8 0x803C
#define GL_LUMINANCE8 0x8040
#define GL_LUMINANCE8_ALPHA8 0x8045
#define GL_INTENSITY8 0x804B
enum texture_flags {
TEXTURE_BLOCK_COMPRESSION = 0x01,
};