QDENGINE: Hardcode pixel format while initialising window

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>
This commit is contained in:
kunxl-gg 2024-08-25 23:41:55 +05:30 committed by Eugene Sandulenko
parent 927dedc1d3
commit aab48c2c5b

View File

@ -349,7 +349,7 @@ void init_graphics() {
}
bool init_graphics_dispatcher() {
grDispatcher::instance()->init(g_engine->_screenW, g_engine->_screenH, (grPixelFormat)qdGameConfig::get_config().pixel_format());
grDispatcher::instance()->init(g_engine->_screenW, g_engine->_screenH, GR_RGB565);
return true;
}