BACKENDS: Drop native game joystick support in replacement for emulated from core events backend.

This commit is contained in:
Pawel Kolodziejski 2020-10-03 17:13:54 +02:00
parent fc0638a4db
commit e9839c31e2
16 changed files with 9 additions and 668 deletions

View file

@ -26,7 +26,7 @@
#include "backends/graphics3d/openglsdl/openglsdl-graphics3d.h"
#include "backends/events/sdl/resvm-sdl-events.h"
#include "backends/events/sdl/sdl-events.h"
#include "common/config-manager.h"
#include "common/file.h"
#include "engines/engine.h"
@ -296,8 +296,6 @@ void OpenGLSdlGraphics3dManager::createOrUpdateScreen() {
_screenChangeCount++;
dynamic_cast<ResVmSdlEventSource *>(_eventSource)->resetKeyboardEmulation(obtainedWidth - 1, obtainedHeight - 1);
#if !defined(AMIGAOS)
if (renderToFrameBuffer) {
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
@ -353,8 +351,6 @@ void OpenGLSdlGraphics3dManager::notifyResize(const int width, const int height)
_overlayBackground = nullptr;
_screenChangeCount++;
dynamic_cast<ResVmSdlEventSource *>(_eventSource)->resetKeyboardEmulation(newWidth - 1, newHeight- 1);
#endif
}