Kaydet (Commit) 237426e1 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

Revert "fix OpenGL error in libgltf"

New tarball already contains the fix for it.

This reverts commit 6f855fed.
üst a6da91bd
......@@ -33,7 +33,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,libgltf,\
external/libgltf/patches/comma_at_end_of_enumerator_list.patch \
external/libgltf/patches/extra_semicolon.patch \
external/libgltf/patches/stop_a_potential_memory_leak.patch \
external/libgltf/patches/wrong_shader_program_delete.patch.1 \
))
# vim: set noet sw=4 ts=4:
diff -ur libgltf.org/src/Shaders.cpp libgltf/src/Shaders.cpp
--- libgltf.org/src/Shaders.cpp 2014-07-06 03:33:15.205313955 +0200
+++ libgltf/src/Shaders.cpp 2014-07-06 03:34:33.079310767 +0200
@@ -144,7 +144,7 @@
void ShaderProgram::deleteProgram(unsigned int programId)
{
- glDeleteShader(programId);
+ glDeleteProgram(programId);
}
void ShaderProgram::useProgram(unsigned int programId)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment