mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-09-30 02:37:56 +03:00
Updated GLAD
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
+11
-1486
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
@@ -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
@@ -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:
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user