Commits

Ivan Vučica committed e8f484b

Alpha blending.

  • Participants
  • Parent commits 33fc9f3

Comments (0)

Files changed (1)

File pucaljka.cpp

     gGame = new GM_MainMenu();
     uint32_t OldTime = SDL_GetTicks();
 
+    glEnable(GL_BLEND);
+    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+    
     while(gRunning)
     {
         SDL_Event event;