goat3dgfx

diff src/shader.cc @ 31:3ba80928b530

fixed the build
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Mar 2014 04:20:00 +0200
parents dc5918c62a64
children
line diff
     1.1 --- a/src/shader.cc	Sun Mar 02 03:56:47 2014 +0200
     1.2 +++ b/src/shader.cc	Sun Mar 02 04:20:00 2014 +0200
     1.3 @@ -4,6 +4,7 @@
     1.4  #include <errno.h>
     1.5  #include "opengl.h"
     1.6  #include "shader.h"
     1.7 +#include "mesh.h"
     1.8  #include "logger.h"
     1.9  #include "unistate.h"
    1.10  
    1.11 @@ -21,6 +22,7 @@
    1.12  #endif
    1.13  
    1.14  static std::string read_source(const char *fname);
    1.15 +static void bind_standard_attr(const ShaderProg *prog);
    1.16  
    1.17  ShaderProg *ShaderProg::current;
    1.18