Advertisement
Ancurio

attempt1

Jul 24th, 2015
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.79 KB | None | 0 0
  1. diff --git a/src/tileatlasvx.cpp b/src/tileatlasvx.cpp
  2. index 663eca3..d8ac718 100644
  3. --- a/src/tileatlasvx.cpp
  4. +++ b/src/tileatlasvx.cpp
  5. @@ -279,14 +279,14 @@ void build(TEXFBO &tf, Bitmap *bitmaps[BM_COUNT])
  6.     FBO::clear();
  7.     glState.clearColor.pop();
  8.  
  9. -   if (rgssVer >= 3)
  10. -   {
  11. -       SDL_Surface *shadow = createShadowSet();
  12. -       TEX::bind(tf.tex);
  13. -       TEX::uploadSubImage(shadowArea.x*32, shadowArea.y*32,
  14. -                           shadow->w, shadow->h, shadow->pixels, GL_RGBA);
  15. -       SDL_FreeSurface(shadow);
  16. -   }
  17. +// if (rgssVer >= 3)
  18. +// {
  19. +//     SDL_Surface *shadow = createShadowSet();
  20. +//     TEX::bind(tf.tex);
  21. +//     TEX::uploadSubImage(shadowArea.x*32, shadowArea.y*32,
  22. +//                         shadow->w, shadow->h, shadow->pixels, GL_RGBA);
  23. +//     SDL_FreeSurface(shadow);
  24. +// }
  25.  
  26.     Bitmap *bm;
  27.  #define EXEC_BLITS(part) \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement