This commit is contained in:
BenCat07 2018-04-07 18:25:46 +02:00
parent 6e590dd71d
commit bfc40d8fa3
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ void DrawSpinner()
const glez_rgba_t color = glez_rgba(255, 255, 255, 255); const glez_rgba_t color = glez_rgba(255, 255, 255, 255);
draw_api::texture_handle_t text = draw_api::create_texture(DATA_PATH"/res/atlas.png"); draw_api::texture_handle_t text = draw_api::create_texture(DATA_PATH"/res/atlas.png");
while (!text.handle) while (!text.handle || text.handle == 4294967295)
text = draw_api::create_texture(DATA_PATH"res/atlas.png"); text = draw_api::create_texture(DATA_PATH"res/atlas.png");
draw_api::draw_rect_textured(draw::width / 2, draw::height / 2, size, size, colors::white, draw_api::draw_rect_textured(draw::width / 2, draw::height / 2, size, size, colors::white,
text, 0 + 64 * state, (3 + (v9mode ? 1 : 0)) * 64, 64, 64, text, 0 + 64 * state, (3 + (v9mode ? 1 : 0)) * 64, 64, 64,

View File

@ -401,7 +401,7 @@ void _FASTCALL emoji(CachedEntity *ent)
size = float(emoji_min_size); size = float(emoji_min_size);
} }
glez_rgba_t white = glez_rgba(255, 255, 255, 255); glez_rgba_t white = glez_rgba(255, 255, 255, 255);
while (!textur) while (!textur || textur == 4294967295)
textur = glez_texture_load_png_rgba( textur = glez_texture_load_png_rgba(
DATA_PATH"res/atlas.png"); DATA_PATH"res/atlas.png");
player_info_s info; player_info_s info;