fix: switch bool to int in glslang C interface

This commit is contained in:
Kai Angulo 2024-10-22 23:39:48 -07:00
parent 6cbc4e84f4
commit 0ecaf43ec6

View file

@ -208,7 +208,7 @@ typedef struct glslang_input_s {
const char* code;
const char* entrypoint; // This is what actually gets called by the GPU. Best to leave it at 'main' or something so opengl doesn't trip over itself.
const char* source_entrypoint; // This just renames the source entrypoint in the code to 'entrypoint' and should be what is used to set different entrypoint names.
bool invert_y;
int invert_y;
int default_version;
glslang_profile_t default_profile;
int force_default_version_and_profile;