Make it work with gcc/Clang on windows
This commit is contained in:
9
HelloTriangle/shaders/shader.frag
Normal file
9
HelloTriangle/shaders/shader.frag
Normal file
@@ -0,0 +1,9 @@
|
||||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 fragColor;
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
void main(){
|
||||
outColor = vec4(fragColor, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user