twn_textures.c: fix repeated bind to work over varying channel count
This commit is contained in:
1 parent
ea0af5159f
commit
f0ad9b9a8a
1 file changed
+1
-1
+1
-1
@@ -573,7 +573,7 @@ void textures_bind_repeating(const TextureCache *cache, TextureKey key) {
|
||||
|
||||
upload_gpu_texture(repeating_texture,
|
||||
texture.data->pixels,
|
||||
4,
|
||||
texture.data->format->BytesPerPixel,
|
||||
texture.data->w,
|
||||
texture.data->h);
|
||||
|
||||
|
||||
Reference in new issue
Block a user