Rename function.

This commit is contained in:
Syoyo Fujita 2016-11-23 18:26:49 +09:00
parent 67fa87c18d
commit 8598af65b0

View File

@ -237,7 +237,7 @@ void motionFunc(GLFWwindow *window, double mouse_x, double mouse_y) {
prevMouseY = mouse_y; prevMouseY = mouse_y;
} }
static void SetupGLState(tinygltf::Scene &scene, GLuint progId) { static void SetupMeshState(tinygltf::Scene &scene, GLuint progId) {
// Buffer // Buffer
{ {
std::map<std::string, tinygltf::BufferView>::const_iterator it( std::map<std::string, tinygltf::BufferView>::const_iterator it(
@ -746,7 +746,7 @@ int main(int argc, char **argv) {
glUseProgram(progId); glUseProgram(progId);
CheckErrors("useProgram"); CheckErrors("useProgram");
SetupGLState(scene, progId); SetupMeshState(scene, progId);
SetupCurvesState(scene, progId); SetupCurvesState(scene, progId);
CheckErrors("SetupGLState"); CheckErrors("SetupGLState");