Sam Lantinga <slouken@libsdl.org> [Tue, 10 Jan 2012 22:52:17 -0500] rev 6209
Fixed typo in mask comparison
Bl0ckeduser
I downloaded the SDL 1.2.15 prerelease and compiled it (under Mac OS
Classic). All the tests worked without issues, but the compiler gave
this warning [formatting edited for email format]:
} else if ( vf->Rmask == 0xFF00 && (vf->Bmask = 0xFF000000) ) {
":src:video:SDL_video.c"; line 990 #Warning 2: possible unintended assignment
I discussed this with another programmer and we came to the conclusion
that this is probably a typo.
I have checked the latest mercurial sources, and the possible typo is
still there.
Bl0ckeduser
Sam Lantinga <slouken@libsdl.org> [Tue, 10 Jan 2012 21:07:09 -0500] rev 6208
David Carre cpasjuste@gmail.com
I'm playing with SDL on android, and did notice a problem in latest sources ( branch "default" ) :
SDL/src/render/opengles/SDL_glesfuncs.h:10: error: 'glDrawTexiOES' undeclared (first use in this function)
SDL/src/render/opengles/SDL_glesfuncs.h:10: error: (Each undeclared identifier is reported only once
If it can help you win some time here is the fix, applied to the "Android.mk" file :
LOCAL_CFLAGS += -D GL_GLEXT_PROTOTYPES
Sam Lantinga <slouken@libsdl.org> [Tue, 10 Jan 2012 21:00:47 -0500] rev 6207
Fixed bug 1331 - SDL_CreateTextureFromSurface fails for OpenGL + Win XP 64 NVidia 285.58 with GL_INVALID_ENUM
I think this fixes the bug. I'm not sure why it would fail, and it may have something to do with the version of OpenGL that we initialize and use by default. Regardless, this should take care of the problem.
Patrice Mandin <patmandin@gmail.com> [Tue, 10 Jan 2012 21:12:45 +0100] rev 6206
Add and use SuperToUser macro to handle super->user mode switch
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2012 21:11:11 -0500] rev 6205
Fixed bug 1366 - SDL_opengles2.h is not installed in "include/SDL" under Linux
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2012 07:07:43 -0500] rev 6204
Fixed structure alignment mismatch between Visual Studio and gcc on 64-bit architectures.
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2012 07:06:36 -0500] rev 6203
Fixed structure alignment mismatch between Visual Studio and gcc on 64-bit architectures.
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2012 04:53:58 -0500] rev 6202
Don't hardcode output paths, Visual Studio does the right thing.
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2012 04:39:55 -0500] rev 6201
Removing test projects for Visual Studio 2005
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2012 04:38:34 -0500] rev 6200
I can't test Visual Studio 2005 configurations anymore, and I don't think anyone is using it for production games.