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(?)
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
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.
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
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?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
C++ backends/graphics/openglsdl/openglsdl-graphics.o
backends/graphics/openglsdl/openglsdl-graphics.cpp: In member function 'virtual void OpenGLSdlGraphicsManager::refreshScreen()':
backends/graphics/openglsdl/openglsdl-graphics.cpp:349:21: error: 'glGetError' was not declared in this scope
while (GLenum err = glGetError() != GL_NO_ERROR) {
^~~~~~~~~~
backends/graphics/openglsdl/openglsdl-graphics.cpp:349:21: note: suggested alternative: 'SDL_GetError'
while (GLenum err = glGetError() != GL_NO_ERROR) {
^~~~~~~~~~
SDL_GetError
gmake: *** [backends/graphics/openglsdl/openglsdl-graphics.o] Error 1
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
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:13: error: conflicting 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:16: note: previous 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:13: error: conflicting 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:16: note: previous 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:22: error: conflicting 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:16: note: previous declaration as 'typedef uint32 GLuint'
typedef uint32 GLuint; /* 4-byte unsigned */
^~~~~~
gmake: *** [backends/graphics/openglsdl/openglsdl-graphics.o] Error 1
14.Development:Coding/Ports/VM/scummvm-test>
Is checkGLError working the same way GLError does?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
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 ass, the list goes on. And when the game starts, the real fun begins -
shoot down-on-their-luck homeless people and toss them into a dumpster. Watch
with sadistic glee as a dog gets blown into chunky, bloody, bits by an
explosive, and even murder a shy little girl who loves you. If you think David
Leary is sick, and you like sick, this is THE game for you.
JW: Don't forget the wasting of helpless mutated cripples in the underground.
It's such a beautiful thing!
DL: Go 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?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
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.
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 ass, the list goes on. And when the game starts, the real fun begins -
shoot down-on-their-luck homeless people and toss them into a dumpster. Watch
with sadistic glee as a dog gets blown into chunky, bloody, bits by an
explosive, and even murder a shy little girl who loves you. If you think David
Leary is sick, and you like sick, this is THE game for you.
JW: Don't forget the wasting of helpless mutated cripples in the underground.
It's such a beautiful thing!
DL: Go 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?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
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.
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg