Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.

Commit

Permalink
Fix accidentally swapped parameters which led to unforeseen consequences
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadelessFox committed Aug 26, 2020
1 parent 41b5e38 commit 7dbdc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decima/file_types/core/texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void Decima::Texture::parse(ArchiveArray& archives, Source& stream, CoreFile* co
* formats for us at this moment, so let this be a
* feature for the future (badum-tss).
*/
glTexImage2D(GL_TEXTURE_2D, 0, format_internal, mip_width, mip_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, stream_data);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, mip_width, mip_height, 0, format_internal, GL_UNSIGNED_BYTE, stream_data);
}

glBindTexture(GL_TEXTURE_2D, 0);
Expand Down

0 comments on commit 7dbdc4a

Please sign in to comment.