1. rude
  2. love

Commits

Alex Szpakowski  committed 4509fae

Fixed a typo preventing compressed textures from being loaded into images

  • Participants
  • Parent commits bc2200c
  • Branches default

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/wrap_Graphics.cpp

View file
 	else
 		data = luax_checktype<love::image::ImageData>(L, 1, "ImageData", IMAGE_IMAGE_DATA_T);
 
-	if (!data && !data)
+	if (!data && !cdata)
 		return luaL_error(L, "Error creating image.");
 
 	// Create the image.