Commits

Ivan Vučica  committed ad8742a

Color loading fixed.

  • Participants
  • Parent commits 673d2bc

Comments (0)

Files changed (1)

                       img->format->BytesPerPixel == 4 ? GL_RGBA : GL_RGB,
                       img->w,
                       img->h,
-                      img->format->BytesPerPixel == 4 ? GL_RGBA : GL_RGB,
+                      img->format->BytesPerPixel == 4 ? GL_BGRA : GL_BGR,
                       GL_UNSIGNED_BYTE,
                       img->pixels);