Revert "Haiku graphics mode scheduler low latency rather power saving for" (#4515)
This reverts commit 087ad350d7
.
This commit is contained in:
parent
087ad350d7
commit
4f55f11000
@ -166,10 +166,6 @@
|
|||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __HAIKU__
|
|
||||||
#include <kernel/scheduler.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __SWITCH__
|
#ifdef __SWITCH__
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <sys/iosupport.h>
|
#include <sys/iosupport.h>
|
||||||
@ -2352,9 +2348,6 @@ int main(int argc, char *argv[])
|
|||||||
#ifndef SERVER_ONLY
|
#ifndef SERVER_ONLY
|
||||||
if (!GUIEngine::isNoGraphics())
|
if (!GUIEngine::isNoGraphics())
|
||||||
{
|
{
|
||||||
#ifdef __HAIKU__
|
|
||||||
set_scheduler_mode(SCHEDULER_MODE_LOW_LATENCY);
|
|
||||||
#endif
|
|
||||||
// Some Android devices have only 320x240 and height >= 480 is bare
|
// Some Android devices have only 320x240 and height >= 480 is bare
|
||||||
// minimum to make the GUI working as expected.
|
// minimum to make the GUI working as expected.
|
||||||
if (irr_driver->getActualScreenSize().Height < 480)
|
if (irr_driver->getActualScreenSize().Height < 480)
|
||||||
|
Loading…
Reference in New Issue
Block a user