X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Frouteui.h;fp=shaders%2Frouteui.h;h=0000000000000000000000000000000000000000;hb=bececcbb7b2e886e72425e7c070e1fdc3aa126dc;hp=9be8ddccd6438281eb86316a2e60113e42443caf;hpb=93790b71d3a89724255dc73239e38c08ad4bbac7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/routeui.h b/shaders/routeui.h deleted file mode 100644 index 9be8ddc..0000000 --- a/shaders/routeui.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once -#include "vg/vg_engine.h" -extern struct vg_shader _shader_routeui; -extern GLuint _uniform_routeui_uOffset; -extern GLuint _uniform_routeui_uColour; -static inline void shader_routeui_uOffset(v4f v) -{ - glUniform4fv(_uniform_routeui_uOffset,1,v); -} -static inline void shader_routeui_uColour(v4f v) -{ - glUniform4fv(_uniform_routeui_uColour,1,v); -} -static inline void shader_routeui_use(void); -static inline void shader_routeui_use(void) -{ - glUseProgram(_shader_routeui.id); -}