Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
authorMichael Georgoulopoulos <mgeorgoulopoulos@gmail.com>
Thu, 8 Sep 2016 20:46:53 +0000 (23:46 +0300)
committerMichael Georgoulopoulos <mgeorgoulopoulos@gmail.com>
Thu, 8 Sep 2016 20:46:53 +0000 (23:46 +0300)
1  2 
src/grise.c

diff --cc src/grise.c
@@@ -263,17 -246,3 +263,17 @@@ static void updateScrollTables(float dt
                scrollTableRounded[i] = (int)(scrollTable[i] + 0.5f) % scrollModTable[i];
        }
  }
 +
 +static void rleEncode(unsigned char *pixels, unsigned int w, unsigned int h) {
 +      int scanline;
 +      int i;
 +      int skipping = 1;
 +
 +      for (scanline = 0; scanline < h; scanline++) {
 +              for (i = 0; i < w; i++) {
 +                      if (*pixels++) {
 +                              
 +                      }
 +              }
 +      }
- }
++}