Message ID | 20110721123634.17019.41171.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/shader.cpp' --- src/shader.cpp 2010-12-12 13:35:07 +0000 +++ src/shader.cpp 2010-12-12 13:49:10 +0000 @@ -160,7 +160,7 @@ glDeleteShader(mVertexShader); glDeleteShader(mFragmentShader); - glDeleteShader(mShaderProgram); + glDeleteProgram(mShaderProgram); mVertexShader = 0; mFragmentShader = 0;