Show GL hex error in hex

Fixes an issue whereby a hexadecimal error value was being printed in
decimal.

Tested on a RPi that suffers from issue 6078.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
This commit is contained in:
Mahyar Koshkouei 2018-01-17 16:42:06 +00:00
parent 45c50c604b
commit 87a7c0f426

View File

@ -1038,8 +1038,8 @@ static bool gl2_renderchain_init_hw_render(
status = gl2_check_fb_status(RARCH_GL_FRAMEBUFFER);
if (status != RARCH_GL_FRAMEBUFFER_COMPLETE)
{
RARCH_ERR("[GL]: Failed to create HW render FBO #%u, error: 0x%u.\n",
i, (unsigned)status);
RARCH_ERR("[GL]: Failed to create HW render FBO #%u, error: 0x%04x.\n",
i, status);
return false;
}
}