Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
59 user(s) are online (51 user(s) are browsing Forums)

Members: 1
Guests: 58

BSzili, more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 ... 35 36 37 (38) 39 40 »


Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

Not sure if this a strict sdl2 problem but I keep encountering those kind of issues.

See here

It seems, something is not (yet) supported?

I can't test that given fix since I'm not on my system for some days, but I have a similar problem in residualvm which might stem from the same underlying lack of support of some PixelFormat's(?)

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

OpenGL means MiniGL or OGLES2 here?

You could try glGetError() method to debug (maybe ScummVM already has some debug mechanism, waiting for activation). My hypothesis is that there is some invalid input for texture format that causes white drawing.

   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

OpenGL is MiniGL.
OGLES2 is fine.

What would I need to add to catch those "errors".

Remember, you are talking to a coding noob.

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

Something like

GLenum err;

while ((
err glGetError()) != GL_NO_ERROR)
{
    
warning("GL error %d"err);
}


here https://github.com/scummvm/scummvm/blo ... englsdl-graphics.cpp#L348


   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

Thank you, will try.

I guess that all possible PixelFormat's are supported?

Would it help to print out the PixelFormat that is finally used?
I guess not, if all of them should work in some way?

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

ScummVM seems to call glTexImage2D only in 2 relevant places, so it should be simple to debug out the input parameters.

Debugging input parameters in this file might be enough https://github.com/scummvm/scummvm/blo ... aphics/opengl/texture.cpp

   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

Ok...I'll see if I can do it myself

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

You can do it. Just use warning() with %d to print those variables. Compiler should tell if %d is not a good idea.

   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

Will try

Thank you very much

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

I get an
C++      backends/graphics/openglsdl/openglsdl-graphics.o
backends
/graphics/openglsdl/openglsdl-graphics.cppIn member function 'virtual void OpenGLSdlGraphicsManager::refreshScreen()':
backends/graphics/openglsdl/openglsdl-graphics.cpp:349:21error'glGetError' was not declared in this scope
 
while (GLenum err glGetError() != GL_NO_ERROR) {
                     ^~~~~~~~~~
backends/graphics/openglsdl/openglsdl-graphics.cpp:349:21notesuggested alternative'SDL_GetError'
 
while (GLenum err glGetError() != GL_NO_ERROR) {
                     ^~~~~~~~~~
                     
SDL_GetError
gmake
: *** [backends/graphics/openglsdl/openglsdl-graphics.oError 1

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

Try including "SDL_opengl.h".

If this also fails, it might be possible to call ScummVM's checkGlError() https://github.com/scummvm/scummvm/blo ... aphics/opengl/debug.h#L31


   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

I tried that, but i got a lot of conflicting typedefs
C++      backends/graphics/openglsdl/openglsdl-graphics.o
In file included from 
/SDK/local/newlib/include/SDL2/SDL_opengl.h:43,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:28:
/
SDK/local/common/include/GL/gl.h:44:13errorconflicting declaration 'typedef int GLint'
 
typedef int GLint;
             ^~~~~
In file included from ./backends/graphics/opengl/opengl-sys.h:73,
                 
from ./backends/graphics/opengl/opengl-graphics.h:26,
                 
from ./backends/graphics/openglsdl/openglsdl-graphics.h:26,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:23:
./
backends/graphics/opengl/opengl-defs.h:69:16noteprevious declaration as 'typedef int32 GLint'
 
typedef int32  GLint;    /* 4-byte signed */
                
^~~~~
In file included from /SDK/local/newlib/include/SDL2/SDL_opengl.h:43,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:28:
/
SDK/local/common/include/GL/gl.h:45:13errorconflicting declaration 'typedef int GLsizei'
 
typedef int GLsizei;
             ^~~~~~~
In file included from ./backends/graphics/opengl/opengl-sys.h:73,
                 
from ./backends/graphics/opengl/opengl-graphics.h:26,
                 
from ./backends/graphics/openglsdl/openglsdl-graphics.h:26,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:23:
./
backends/graphics/opengl/opengl-defs.h:73:16noteprevious declaration as 'typedef int32 GLsizei'
 
typedef int32  GLsizei;  /* 4-byte signed */
                
^~~~~~~
In file included from /SDK/local/newlib/include/SDL2/SDL_opengl.h:43,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:28:
/
SDK/local/common/include/GL/gl.h:48:22errorconflicting declaration 'typedef unsigned int GLuint'
 
typedef unsigned int GLuint;
                      ^~~~~~
In file included from ./backends/graphics/opengl/opengl-sys.h:73,
                 
from ./backends/graphics/opengl/opengl-graphics.h:26,
                 
from ./backends/graphics/openglsdl/openglsdl-graphics.h:26,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:23:
./
backends/graphics/opengl/opengl-defs.h:72:16noteprevious declaration as 'typedef uint32 GLuint'
 
typedef uint32 GLuint;   /* 4-byte unsigned */
                
^~~~~~
gmake: *** [backends/graphics/openglsdl/openglsdl-graphics.oError 1
14.Development
:Coding/Ports/VM/scummvm-test>


Is checkGLError working the same way GLError does?

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

Check debug.cpp, it calls glGetError(). The following should work (or at least compile):

1)

#include "backends/graphics/opengl/debug.h"


then, instead of loop, just call the helper function

2)

OpenGL::checkGLError("foobar"__FILE____LINE__);


And hopefully, it shows something.

   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

Yes, it does, a lot actually

User picked target 'bladerunner-final-win' (gameid 'bladerunner-final')...
  
Looking for a plugin supporting this gameid... Blade Runner
  Starting 
'Blade Runner with restored content'
WARNINGGL ERRORGL_INVALID_OPERATION on glTexImage2D(0x0DE10_glIntFormat_width_height0_glFormat_glType__null) (backends/graphics/opengl/texture.cpp:141)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
Subtitles version infov3 (09:35:49 22/07/2019EFIGS byEnglish by ScummVM TeamFrench by Kwama57
Subtitles font 
'SUBTLS_E.FON' was loaded successfully.
SliceAnimations::openFramesHDFRAMES.DAT resource not foundFalling back to using CDFRAMESx.DAT files instead...
WARNINGnumQueuedStreams0!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGnumQueuedStreams0!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGnumQueuedStreams0!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGnumQueuedStreams0!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGnumQueuedStreams0!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGnumQueuedStreams0!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:169)!
    
Blade Runner
    
    From the dark recesses of David Leary
's imagination comes a game unlike any
    other. Blade Runner immerses you in the underbelly of future Los Angeles. Right
    from the start, the story pulls you in with graphic descriptions of a
    grandmother doing the shimmy in her underwear, child molestation, brutal
    cold-blooded slaying of innocent animals, vomiting on desks, staring at a
    woman'
s assthe list goes on. And when the game startsthe real fun begins -
    
shoot down-on-their-luck homeless people and toss them into a dumpsterWatch
    with sadistic glee 
as a dog gets blown into chunkybloodybits by an
    explosive
, and even murder a shy little girl who loves you. If you think David
    Leary is sick
, and you like sickthis is THE game for you.
    
    
JWDon't forget the wasting of helpless mutated cripples in the underground.
    It'
s such a beautiful thing!
    
    
DLGo ahead.  Just keep beating that snarling pit bull...ignore the foam
    around his jaws
There's room on the top shelf of my fridge for at least one
    more head... - Psychotic Dave
    
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!
    MG: Is David Leary a self-respecting human or is he powered by rechargeable
    batteries?

WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:169)!


And for the sake of context, this is what was changed
Quote:

In that commit output format was changed from 15bit rgb555 to 16bit argb1555, because android port supports only that, that might be the issue.
It's now return Graphics::PixelFormat(2, 5, 5, 5, 1, 11, 6, 1, 0);

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

So MiniGL doesn't like some of the texture params. I guess you should next print _glIntFormat, _glFormat and _glType near texture.cpp:141. Maybe width and height too.

   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Capehill

Not that i'd understand whats going on, but isnt a width and height of 32 a little small for a game screen?

User picked target 'bladerunner-final-win' (gameid 'bladerunner-final')...
  
Looking for a plugin supporting this gameid... Blade Runner
  Starting 
'Blade Runner with restored content'
glintFormat 6408glFormat 6408glType 5121width 32height 32
glintFormat 6408
glFormat 6408glType 32820width 1024height 512
WARNING
GL ERRORGL_INVALID_OPERATION on glTexImage2D(0x0DE10_glIntFormat_width_height0_glFormat_glType__null) (backends/graphics/opengl/texture.cpp:142)!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:170)!
Subtitles version infov3 (09:35:49 22/07/2019EFIGS byEnglish by ScummVM TeamFrench by Kwama57
Subtitles font 
'SUBTLS_E.FON' was loaded successfully.
SliceAnimations::openFramesHDFRAMES.DAT resource not foundFalling back to using CDFRAMESx.DAT files instead...
WARNINGnumQueuedStreams0!
WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:170)!

...
lots of those GL ERROR (see previous post)

WARNINGGL ERRORGL_INVALID_OPERATION on glTexSubImage2D(0x0DE100area.topsrc.warea.height(), _glFormat_glTypesrc.getBasePtr(0area.top)) (backends/graphics/opengl/texture.cpp:170)!
    
Blade Runner
    
    From the dark recesses of David Leary
's imagination comes a game unlike any
    other. Blade Runner immerses you in the underbelly of future Los Angeles. Right
    from the start, the story pulls you in with graphic descriptions of a
    grandmother doing the shimmy in her underwear, child molestation, brutal
    cold-blooded slaying of innocent animals, vomiting on desks, staring at a
    woman'
s assthe list goes on. And when the game startsthe real fun begins -
    
shoot down-on-their-luck homeless people and toss them into a dumpsterWatch
    with sadistic glee 
as a dog gets blown into chunkybloodybits by an
    explosive
, and even murder a shy little girl who loves you. If you think David
    Leary is sick
, and you like sickthis is THE game for you.
    
    
JWDon't forget the wasting of helpless mutated cripples in the underground.
    It'
s such a beautiful thing!
    
    
DLGo ahead.  Just keep beating that snarling pit bull...ignore the foam
    around his jaws
There's room on the top shelf of my fridge for at least one
    more head... - Psychotic Dave
    
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
glintFormat 6408, glFormat 6408, glType 5121, width 32, height 32
WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!
    MG: Is David Leary a self-respecting human or is he powered by rechargeable
    batteries?

WARNING: GL ERROR: GL_INVALID_OPERATION on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.getBasePtr(0, area.top)) (backends/graphics/opengl/texture.cpp:170)!

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
I should add that the WARNING: GL ERRORs does not come from any debug output i added, they are logged by ScummVM itself as there seems to be a debug logger (to console) already in place.

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

Yep, didn't see "foobar" anywhere but it's ok :)

I guess problem is the type:

32820 (0x8034): #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034

There is no "unpacker" in MiniGL for this type, see http://www.hyperion-entertainment.com ... s/updates-kc/src/unpack.c for supported unpackers.

You should probably discuss about this issue in MiniGL thread. Maybe it's possible to implement, but it's a different matter whom/when.

MiniGL GitHub project would be awesome ;)

Of course as you wrote ScummVM was working before so also application-specific workaround may be possible.

   Report Go to top

Re: SDL2
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@capehill

Continued in the MiniGL thread.

Thank you

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDL2
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 806
@Raziel

Missed this bit:

Quote:

isnt a width and height of 32 a little small for a game screen


Yes, it was probably a mouse pointer. ScummVM uses textures for various purposes.

   Report Go to top


« 1 ... 35 36 37 (38) 39 40 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project