win_opengl: Add loading shaders from a file and few common uniforms.

plat.h,win.c: Add missing const
This commit is contained in:
ts-korhonen
2021-04-15 16:36:02 +03:00
parent 4e6ea33594
commit afc5122a50
3 changed files with 249 additions and 69 deletions

View File

@@ -775,7 +775,7 @@ plat_get_extension(char *s)
void
plat_append_filename(char *dest, char *s1, char *s2)
plat_append_filename(char *dest, const char *s1, const char *s2)
{
strcpy(dest, s1);
plat_path_slash(dest);