Skip to content

Commit

Permalink
AALib/CaCa rendering: SDL_Quit needs to be called.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttsiodras committed Jun 3, 2021
1 parent 319bb10 commit b20a52b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COMPILE/INSTALL/RUN
Windows
-------
Windows users can download and run a pre-compiled Windows binary
[here](https://github.com/ttsiodras/MandelbrotSSE/releases/download/2.3/mandelSSE-win32-2.3.zip).
[here](https://github.com/ttsiodras/MandelbrotSSE/releases/download/2.5/mandelSSE-win32-2.5.zip).

After decompressing, you can simply execute either one of the two .bat
files. The 'autopilot' one zooms in a specific location, while the other
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COMPILE/INSTALL/RUN
Windows
-------
Windows users can download and run a pre-compiled Windows binary
[here](https://github.com/ttsiodras/MandelbrotSSE/releases/download/2.3/mandelSSE-win32-2.3.zip).
[here](https://github.com/ttsiodras/MandelbrotSSE/releases/download/2.5/mandelSSE-win32-2.5.zip).

After decompressing, you can simply execute either one of the two .bat
files. The 'autopilot' one zooms in a specific location, while the other
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for mandelSSE 2.4.
# Generated by GNU Autoconf 2.69 for mandelSSE 2.5.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='mandelSSE'
PACKAGE_TARNAME='mandelsse'
PACKAGE_VERSION='2.4'
PACKAGE_STRING='mandelSSE 2.4'
PACKAGE_VERSION='2.5'
PACKAGE_STRING='mandelSSE 2.5'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL=''

Expand Down Expand Up @@ -1303,7 +1303,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures mandelSSE 2.4 to adapt to many kinds of systems.
\`configure' configures mandelSSE 2.5 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1375,7 +1375,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of mandelSSE 2.4:";;
short | recursive ) echo "Configuration of mandelSSE 2.5:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1479,7 +1479,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
mandelSSE configure 2.4
mandelSSE configure 2.5
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1848,7 +1848,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by mandelSSE $as_me 2.4, which was
It was created by mandelSSE $as_me 2.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2902,7 +2902,7 @@ fi

# Define the identity of the package.
PACKAGE='mandelsse'
VERSION='2.4'
VERSION='2.5'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -6464,7 +6464,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by mandelSSE $as_me 2.4, which was
This file was extended by mandelSSE $as_me 2.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -6530,7 +6530,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
mandelSSE config.status 2.4
mandelSSE config.status 2.5
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([mandelSSE], [2.4], [[email protected]])
AC_INIT([mandelSSE], [2.5], [[email protected]])

AC_LANG(C)
AC_CONFIG_HEADERS([src/config.h])
Expand Down
10 changes: 4 additions & 6 deletions src/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

/* Define to 1 if you have the `memset' function. */
#undef HAVE_MEMSET

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

Expand Down Expand Up @@ -63,9 +63,7 @@
/* Define this to use SSE intrinsics. */
#undef SIMD_SSE

/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

/* Define this to use OpenMP. */
Expand Down
2 changes: 1 addition & 1 deletion src/mandel.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ int main(int argc, char *argv[])
} else
frames = mousedriven();
en = SDL_GetTicks();

SDL_Quit();
printf("[-] Frames/sec: %5.2f\n\n",
((float) frames) / ((en - st) / 1000.0f));
fflush(stdout);
Expand Down

0 comments on commit b20a52b

Please sign in to comment.