Skip to content

Commit c9c82fa

Browse files
committed
gldestroytexture->rlunload
1 parent 453ffd8 commit c9c82fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Managers/GLResourceMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@ GLuint GLResourceMan::UpdateDynamicBitmap(BITMAP* bitmap, bool updated, const st
154154

155155
void GLResourceMan::DestroyBitmapInfo(BITMAP* bitmap) {
156156
GLBitmapInfo* info = GetBitmapInfo(bitmap);
157-
glDeleteTextures(1, &info->m_Texture);
157+
rlUnloadTexture(info->m_Texture);
158158
}

0 commit comments

Comments
 (0)