mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Revert "Make the GameGlobalShaderConstantSetter use the settings callback (8% perf improvement in game loop)"
This reverts commit a555e2d9b0
.
This commit is contained in:
@@ -36,7 +36,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
FontEngine* g_fontengine = NULL;
|
||||
|
||||
/** callback to be used on change of font size setting */
|
||||
static void font_setting_changed(const std::string, void *userdata) {
|
||||
static void font_setting_changed(const std::string) {
|
||||
g_fontengine->readSettings();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user