I am planning to release SDL 1.1.3 early next week, so please compile this
and let me know if there are any bugs for you - or better, submit patches.
The only patch I want to submit is a small hack in for the video modes that
don’t support OpenGL, returning an error message. (fbcon/svga). I’ll add that
to the prerelease this evening, now that my computer is finally working again.
I’ll be glad to see it out.
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Are we going to enable maximize the button? If a window is resizable, it
should also be maximizable. The following is a small patch to SDL_dibvideo.c
(line 417) to enable maximizing. The “IsZoomed” check prevents the maximized
state from being lost. The code would be a little different in
SDL_dx5video.c but the idea is the same.
if ( flags & SDL_RESIZABLE ) {
style |= WS_THICKFRAME|WS_MAXIMIZEBOX;
video->flags |= SDL_RESIZABLE;
if (IsZoomed(SDL_Window)) style |= WS_MAXIMIZE;
}
We only get a single resize event when the mouse is released when resizing a
window with “show window contents while dragging” set in the window manager.
Is it possible to get multiple events so that the contents can be
dynamically resized? Would this cause “ugly black flashes” as the video mode
is continuously resized?
We only get a single resize event when the mouse is released when resizing a
window with “show window contents while dragging” set in the window manager.
Is it possible to get multiple events so that the contents can be
dynamically resized?
I don’t believe so.
Would this cause “ugly black flashes” as the video mode
is continuously resized?
If it were possible, yes, it would cause ugly black flashes.
(as far as I know)
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
+# Set runtime shared library paths as needed
+SDL_RLD_FLAGS=""
+
+if test $ARCH = linux; then
SDL_RLD_FLAGS="-Wl,-rpath=${exec_prefix}/lib"
+fi
+if test $ARCH = solaris; then
SDL_RLD_FLAGS="-R=${exec_prefix}/lib"
+fi
dnl Output the video drivers we use
if test x$enable_video = xtrue; then
if test “$VIDEO_SUBDIRS” = “”; then
@@ -778,6 +789,7 @@
dnl Expand the cflags and libraries needed by apps using SDL
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
+AC_SUBST(SDL_RLD_FLAGS)
dnl Expand the include directories for building SDL
CFLAGS="$CFLAGS -I$(top_srcdir)/include"
Index: sdl-config.in
XFree86 4.0, binary build, puts the GL includes in /usr/X11R6/include/GL.
This causes SDL to barf and choke since it expects 'em in
/usr/local/include/GL. Can we add some sort of multiple testing?
Nicholas> ----- Original Message -----
From: slouken@devolution.com (Sam Lantinga)
To: sdl at lokigames.com
Date: Friday, May 19, 2000 10:14 AM
Subject: [SDL] SDL 1.1.3 prerelease
No ‘=’ between -R and the path in Solaris linking.
Boy, is my face red. Here is an updated version of
the patch for the 1_1 branch of SDL in the CVS. I
tested this under Linux with the most recent versions
of SDL and SMPEG from the CVS so I am confident that
it now works.===================================================================
RCS file: /cvs/SDL/configure.in,v
retrieving revision 1.25.2.55
diff -u -r1.25.2.55 configure.in
— configure.in 2000/05/19 21:59:30 1.25.2.55
+++ configure.in 2000/05/20 22:47:22
@@ -1052,6 +1052,16 @@
AM_CONDITIONAL(TARGET_BEOS, test $ARCH = beos)
AM_CONDITIONAL(TARGET_MACOS, test $ARCH = macos)
+# Set runtime shared library paths as needed
+
+if test $ARCH = linux; then
SDL_RLD_FLAGS="-Wl,-rpath,${exec_prefix}/lib"
+fi
+if test $ARCH = solaris; then
SDL_RLD_FLAGS="-R${exec_prefix}/lib"
+fi
dnl Output the video drivers we use
if test x$enable_video = xtrue; then
if test “$VIDEO_SUBDIRS” = “”; then
@@ -1067,10 +1077,10 @@
dnl Expand the cflags and libraries needed by apps using SDL
AC_SUBST(SDL_CFLAGS)
AC_SUBST(SDL_LIBS)
+AC_SUBST(SDL_RLD_FLAGS)
dnl Expand the libraries needed for static linking
AC_SUBST(SYSTEM_LIBS)
dnl Expand the include directories for building SDL
CFLAGS="$CFLAGS -I$(top_srcdir)/include"
CFLAGS="$CFLAGS -I$(top_srcdir)/include/SDL"
Index: sdl-config.in
Boy, is my face red. Here is an updated version of
the patch for the 1_1 branch of SDL in the CVS. I
tested this under Linux with the most recent versions
of SDL and SMPEG from the CVS so I am confident that
it now works.
Thanks! I’ve applied it to CVS.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software