MORPHOS : Fixed for int vs int32 types for AmigaOS/MorphOS (#2510)
MORPHOS : Fixed int to int32 and some functions not available on AmigaOS/MorphOS
This commit is contained in:
parent
15119e2ca0
commit
cab7cd49c4
14 changed files with 34 additions and 23 deletions
|
@ -294,7 +294,7 @@ void OpenGLSdlGraphics3dManager::createOrUpdateScreen() {
|
|||
|
||||
_screenChangeCount++;
|
||||
|
||||
#if !defined(AMIGAOS)
|
||||
#if !defined(AMIGAOS) && !defined(__MORPHOS__)
|
||||
if (renderToFrameBuffer) {
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||
_frameBuffer = createFramebuffer(_engineRequestedWidth, _engineRequestedHeight);
|
||||
|
@ -537,7 +537,7 @@ void OpenGLSdlGraphics3dManager::drawOverlay() {
|
|||
_surfaceRenderer->restorePreviousState();
|
||||
}
|
||||
|
||||
#ifndef AMIGAOS
|
||||
#if !defined(AMIGAOS) && !defined(__MORPHOS__)
|
||||
OpenGL::FrameBuffer *OpenGLSdlGraphics3dManager::createFramebuffer(uint width, uint height) {
|
||||
#if !defined(USE_GLES2)
|
||||
if (_antialiasing && OpenGLContext.framebufferObjectMultisampleSupported) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue