From cecdba5cd996cea3ebd2534aea7a3e3a41205b9c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 21 Feb 2015 19:21:17 -0500 Subject: Changed to using stb_image for image loading, also alpha blending works! --- src/mapview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mapview.cpp') diff --git a/src/mapview.cpp b/src/mapview.cpp index 76d7f02..a85bb31 100644 --- a/src/mapview.cpp +++ b/src/mapview.cpp @@ -28,8 +28,8 @@ MapView::MapView(Map* first, int x, int y) player->animFrame = 0; bg = createTexture(GAME_WIDTH, GAME_HEIGHT); - chara = loadTextureFromBMP("../res/Starla.bmp"); - tiles = loadTextureFromBMP("../res/tiles2.bmp"); + chara = loadTextureFromBMP("../res/Starla.png"); + tiles = loadTextureFromBMP("../res/tiles.png"); loadMap(first); } -- cgit 1.4.1