Remove leftover code from software rendering

This commit is contained in:
sfan5
2023-01-02 21:21:53 +01:00
parent a9230e5f49
commit 7d3142b969
15 changed files with 9 additions and 454 deletions

View File

@ -12,7 +12,6 @@
#include "CIrrDeviceStub.h"
#include "IrrlichtDevice.h"
#include "IImagePresenter.h"
#include "IGUIEnvironment.h"
#include "ICursorControl.h"
@ -36,7 +35,7 @@ namespace irr
namespace irr
{
class CIrrDeviceMacOSX : public CIrrDeviceStub, video::IImagePresenter
class CIrrDeviceMacOSX : public CIrrDeviceStub
{
public:
@ -68,9 +67,6 @@ namespace irr
//! Checks if the Irrlicht window is minimized
bool isWindowMinimized() const override;
//! presents a surface in the client area
bool present(video::IImage* surface, void* windowId=0, core::rect<s32>* src=0 ) override;
//! notifies the device that it should close itself
void closeDevice() override;
@ -237,14 +233,12 @@ namespace irr
NSWindow* Window;
CGDirectDisplayID Display;
NSBitmapImageRep* SoftwareDriverTarget;
std::map<int,int> KeyCodes;
int DeviceWidth;
int DeviceHeight;
int ScreenWidth;
int ScreenHeight;
u32 MouseButtonStates;
u32 SoftwareRendererType;
bool IsFullscreen;
bool IsActive;
bool IsShiftDown;