convertit Asset i Audio
This commit is contained in:
@@ -231,7 +231,7 @@ void Screen::renderInfo()
|
||||
void Screen::loadShaders()
|
||||
{
|
||||
const std::string GLSL_FILE = param.game.game_area.rect.h == 256 ? "crtpi_256.glsl" : "crtpi_240.glsl";
|
||||
std::ifstream f(Asset::get()->get(GLSL_FILE).c_str());
|
||||
std::ifstream f(Asset::get().get(GLSL_FILE).c_str());
|
||||
shader_source_ = std::string((std::istreambuf_iterator<char>(f)), std::istreambuf_iterator<char>());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user