Text is finally working, once again it was the depth buffer settings in framebuffer.cpp that caused the rendering of text and images to be in z order rather than all on the same plane.
parent
681007e383
commit
e2a72e3da1
@ -1,11 +1,12 @@ |
||||
#version 330 core |
||||
layout (location = 0) in vec3 aPos; |
||||
// in the original this was vec3 but in image.cpp:88 it's a 2 element float so WTF? |
||||
layout (location = 0) in vec2 aPos; |
||||
layout (location = 1) in vec2 aTexCoord; |
||||
|
||||
out vec2 TexCoord; |
||||
|
||||
void main() |
||||
{ |
||||
gl_Position = vec4(aPos, 1.0); |
||||
gl_Position = vec4(aPos, 0.0, 1.0); |
||||
TexCoord = aTexCoord; |
||||
} |
||||
|
||||
@ -0,0 +1,10 @@ |
||||
[wrap-file] |
||||
directory = magic_enum-0.9.7 |
||||
source_url = https://github.com/Neargye/magic_enum/archive/refs/tags/v0.9.7.tar.gz |
||||
source_filename = magic_enum-v0.9.7.tar.gz |
||||
source_hash = b403d3dad4ef542fdc3024fa37d3a6cedb4ad33c72e31b6d9bab89dcaf69edf7 |
||||
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/magic_enum_0.9.7-1/magic_enum-v0.9.7.tar.gz |
||||
wrapdb_version = 0.9.7-1 |
||||
|
||||
[provide] |
||||
magic_enum = magic_enum_dep |
||||
Loading…
Reference in new issue