Vulkan refactoring - Replaced GLint with int.

This commit is contained in:
2022-09-21 17:59:23 -07:00
parent ecb1c8a50f
commit d3912a9ffe
8 changed files with 16 additions and 16 deletions

View File

@@ -341,7 +341,7 @@ KRTexture* KRTextureTGA::compress(bool premultiply_alpha)
getContext().getTextureManager()->_setActiveTexture(0);
GLuint compressed_handle = 0;
int compressed_handle = 0;
GLDEBUG(glGenTextures(1, &compressed_handle));
GLDEBUG(glBindTexture(GL_TEXTURE_2D, compressed_handle));
@@ -372,7 +372,7 @@ KRTexture* KRTextureTGA::compress(bool premultiply_alpha)
break;
}
GLuint lod_level = 0;
int lod_level = 0;
GLint compressed_size = 0;
int lod_width = width;
while(lod_width > 1) {