X-Git-Url: http://git.mutantstargoat.com?p=demo;a=blobdiff_plain;f=src%2Fopengl%2Fmesh-gl.h;h=f935a59e615f1a49ae9e5b89342a10bf52d8a1e6;hp=912257c51adc6f22cc9735907c5a2c6234168cbc;hb=0da7a98f74d00bfa6cf0d47fd7cf0f687eeba5f6;hpb=826b0cf7adaf8b1dc4c37f57a4a98c79a3995e21 diff --git a/src/opengl/mesh-gl.h b/src/opengl/mesh-gl.h index 912257c..f935a59 100644 --- a/src/opengl/mesh-gl.h +++ b/src/opengl/mesh-gl.h @@ -9,6 +9,8 @@ private: unsigned int vbo_vertices; unsigned int vbo_normals; + unsigned int vbo_tex_coords; + unsigned int ibo; int num_vertices; @@ -21,7 +23,7 @@ public: virtual ~MeshGL(); - // virtual void draw() const override; + virtual void draw() const override; virtual void update_vertex_data() override; void update_vbo();