diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-03-10 16:40:39 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2024-03-10 16:40:39 +0100 |
| commit | fb77929fb48c1256c24fa6cb758665a3ea7d3130 (patch) | |
| tree | de91cc7768b72609308d837df7bef1c512c4e2e9 /util/sokol_nuklear.h | |
| parent | 71df9eb978b4920d50acf3d3e7f4079becc338c3 (diff) | |
replace SOKOL_GLCORE33 with SOKOL_GLCORE
Diffstat (limited to 'util/sokol_nuklear.h')
| -rw-r--r-- | util/sokol_nuklear.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/sokol_nuklear.h b/util/sokol_nuklear.h index 04e73eac..9972e133 100644 --- a/util/sokol_nuklear.h +++ b/util/sokol_nuklear.h @@ -18,7 +18,7 @@ platform-specific embedded shader code (these are the same defines as used by sokol_gfx.h and sokol_app.h): - SOKOL_GLCORE33 + SOKOL_GLCORE SOKOL_GLES3 SOKOL_D3D11 SOKOL_METAL @@ -616,7 +616,7 @@ static _snk_state_t _snuklear; @program snuk vs fs */ -#if defined(SOKOL_GLCORE33) +#if defined(SOKOL_GLCORE) static const char _snk_vs_source_glsl330[341] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x33,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73,0x5f,0x70,0x61, @@ -1732,7 +1732,7 @@ static const char _snk_fs_source_wgsl[630] = { static const char* _snk_vs_source_dummy = ""; static const char* _snk_fs_source_dummy = ""; #else -#error "Please define one of SOKOL_GLCORE33, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" +#error "Please define one of SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" #endif #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) @@ -2174,7 +2174,7 @@ SOKOL_API_IMPL void snk_setup(const snk_desc_t* desc) { sg_range fs_bytecode = { .ptr = 0, .size = 0 }; const char* vs_source = 0; const char* fs_source = 0; - #if defined(SOKOL_GLCORE33) + #if defined(SOKOL_GLCORE) vs_source = _snk_vs_source_glsl330; fs_source = _snk_fs_source_glsl330; #elif defined(SOKOL_GLES3) |