twn_textures.c: fix repeated bind to work over varying channel count
This commit is contained in:
parent
ea0af5159f
commit
f0ad9b9a8a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user