mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- remove obsolete define SCALE2RES_DEFINED
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user