Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DevIL/src-IL/src/il_devil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ ILboolean ILAPIENTRY ilTexImageSurface(ILuint Width, ILuint Height, ILuint Depth
// Internal version of ilTexImageSurface.
ILboolean ILAPIENTRY ilTexImageSurface_(ILimage *Image, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, void *Data)
{
ILimage* mips;
ILimage* mipmaps;
ILimage* next;
ILimage* faces;
ILimage* layers;
Expand Down Expand Up @@ -220,7 +220,7 @@ ILboolean ILAPIENTRY ilTexImageSurface_(ILimage *Image, ILuint Width, ILuint Hei
return IL_FALSE;
}*/

mips = Image->Mipmaps;
mipmaps = Image->Mipmaps;
next = Image->Next;
faces = Image->Faces;
layers = Image->Layers;
Expand All @@ -230,7 +230,7 @@ ILboolean ILAPIENTRY ilTexImageSurface_(ILimage *Image, ILuint Width, ILuint Hei
retval = ilInitImage(Image, Width, Height, Depth, Bpp, Format, Type, Data);

// reset our chains
Image->Mipmaps = mips;
Image->Mipmaps = mipmaps;
Image->Next = next;
Image->Faces = faces;
Image->Layers = layers;
Expand Down