summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/graphic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/graphic.c b/src/graphic.c
index 89f418a..54a7bd1 100644
--- a/src/graphic.c
+++ b/src/graphic.c
@@ -212,8 +212,7 @@ int renderTerrainToTexture(SDL_Renderer *rend, gameState_t *gState) {
Uint32 *pixels;
tmp_surf = SDL_CreateRGBSurface(0,MPL_WIN_W, LEVEL_HEIGHT,
-// pf->BitsPerPixel, pf->Rmask, pf->Gmask, pf->Bmask, pf->Amask);
- pf->BitsPerPixel, pf->Rmask, pf->Gmask, pf->Bmask, 0);
+ pf->BitsPerPixel, pf->Rmask, pf->Gmask, pf->Bmask, pf->Amask);
MPL_CHECK(
tmp_surf,