render: split module into gfx_apis and renderer
This commit is contained in:
parent
5e8a6eb86f
commit
d650b3375d
68 changed files with 219 additions and 222 deletions
6
src/gfx_apis/gl/shaders/fill.frag.glsl
Normal file
6
src/gfx_apis/gl/shaders/fill.frag.glsl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
precision mediump float;
|
||||
uniform vec4 color;
|
||||
|
||||
void main() {
|
||||
gl_FragColor = color;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue