Revert "Haiku graphics mode scheduler low latency rather power saving for" (#4515)

This reverts commit 087ad350d7.
This commit is contained in:
panos 2021-04-07 09:42:34 +00:00 committed by GitHub
parent 087ad350d7
commit 4f55f11000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,10 +166,6 @@
#include <jni.h>
#endif
#ifdef __HAIKU__
#include <kernel/scheduler.h>
#endif
#ifdef __SWITCH__
extern "C" {
#include <sys/iosupport.h>
@ -2352,9 +2348,6 @@ int main(int argc, char *argv[])
#ifndef SERVER_ONLY
if (!GUIEngine::isNoGraphics())
{
#ifdef __HAIKU__
set_scheduler_mode(SCHEDULER_MODE_LOW_LATENCY);
#endif
// Some Android devices have only 320x240 and height >= 480 is bare
// minimum to make the GUI working as expected.
if (irr_driver->getActualScreenSize().Height < 480)