- remove obsolete define SCALE2RES_DEFINED

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2022-08-25 21:39:33 +02:00
committed by Thilo Graf
parent 59b9a11693
commit cbd6e4f1f6
2 changed files with 0 additions and 7 deletions

View File

@@ -1391,12 +1391,7 @@ int CLuaInstance::scale2Res(lua_State *L)
int value, ret;
value = luaL_checkint(L, 2);
/* Remove this when pu/fb-setmode branch is merged to master */
#ifdef SCALE2RES_DEFINED
ret = CFrameBuffer::getInstance()->scale2Res(value);
#else
ret = value;
#endif
lua_pushinteger(L, ret);
return 1;
}