Permalink
Browse files

Meshes shouldn't assume what shaders we are using

  • Loading branch information...
1 parent ac218d0 commit 82ea4747f73df16aa5754dfb4e86eb98380ad204 @bryanl committed Feb 5, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/com/osesm/randy/lab/Shape.java
@@ -38,14 +38,6 @@ public void setMesh(Mesh mesh) {
}
mesh.compile(getVertexShader(), getFragmentShader());
-
- // if (mesh.hasTexture()) {
- // mesh.compile("hellogl_with_mesh_texture_vertex_shader.glsl",
- // "hellogl_with_mesh_texture_fragment_shader.glsl");
- // } else {
- // mesh.compile("hellogl_with_mesh_vertex_shader.glsl",
- // "hellogl_with_mesh_fragment_shader.glsl");
- // }
}
@Override

0 comments on commit 82ea474

Please sign in to comment.