Fix Bug In Texture Scaling Code
This commit is contained in:
parent
c45211ad22
commit
6a9a22ac25
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
**2.2.5**
|
||||||
|
* Fix Bug In Texture Scaling Code
|
||||||
|
|
||||||
**2.2.5**
|
**2.2.5**
|
||||||
* Scale Animated Textures
|
* Scale Animated Textures
|
||||||
* Add More Blocks To Expanded Creative Inventory
|
* Add More Blocks To Expanded Creative Inventory
|
||||||
|
@ -47,7 +47,7 @@ HOOK(glTexImage2D, void, (GLenum target, GLint level, GLint internalformat, GLsi
|
|||||||
HOOK(glDeleteTextures, void, (GLsizei n, const GLuint *textures)) {
|
HOOK(glDeleteTextures, void, (GLsizei n, const GLuint *textures)) {
|
||||||
// Remove Old Data
|
// Remove Old Data
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
GLint id = textures[n];
|
GLint id = textures[i];
|
||||||
std::vector<texture_data>::iterator it = get_texture_data().begin();
|
std::vector<texture_data>::iterator it = get_texture_data().begin();
|
||||||
while (it != get_texture_data().end()) {
|
while (it != get_texture_data().end()) {
|
||||||
texture_data data = *it;
|
texture_data data = *it;
|
||||||
|
Loading…
Reference in New Issue
Block a user