more warning fixes

This commit is contained in:
Jordan Cristiano
2013-11-14 02:19:15 -05:00
parent ca5b3b4773
commit 39a4d4329d
27 changed files with 89 additions and 70 deletions

View File

@ -144,7 +144,7 @@ RasterFont::RasterFont()
for(u32 y=0; y<char_height; y++) {
for(u32 c=0; c<char_count; c++) {
for(u32 x=0; x<char_width; x++) {
bool pixel = rasters[c][y] & (1<<(char_width-x-1));
bool pixel = (0 != (rasters[c][y] & (1<<(char_width-x-1))));
texture_data[char_width*char_count*y+char_width*c+x] = pixel ? -1 : 0;
}
}