Skip to content

Commit

Permalink
Commited 0.2.3 from tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Mar 24, 2015
1 parent b464a88 commit d9ff8f6
Show file tree
Hide file tree
Showing 7 changed files with 293 additions and 625 deletions.
898 changes: 281 additions & 617 deletions COPYING

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# init automake/conf
AC_INIT(construo, 0.2.3-CVS)
AC_INIT(construo, 0.2.3)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR(src/construo.hpp)
Expand Down Expand Up @@ -129,7 +129,7 @@ case "$target_os" in
AC_CHECK_LIB(glut, glutMainLoop,
[
ConstruoTargets="$ConstruoTargets construo.glut"
glut_LIBS="-lglut -lGLU"
glut_LIBS="-lglut -lGLU -lGL"
AC_SUBST(glut_LIBS)
AC_SUBST(glut_CXXFLAGS, "")
],
Expand Down
8 changes: 6 additions & 2 deletions src/glut_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# include <GL/glut.h>
#endif

#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <iostream>
Expand Down Expand Up @@ -80,9 +81,12 @@ GlutDisplay::GlutDisplay (int w, int h, int fullscreen)
height = h;

int argc = 1;
char* argv[] = { "construo", "\0" };

char* argv[2];
argv[0] = strdup("construo");
argv[1] = NULL;
glutInit(&argc, argv); // Only pass empty dummies
free(argv[0]);

glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowSize(width, height);
//glutInitWindowPosition(100, 100); don't care
Expand Down
2 changes: 1 addition & 1 deletion src/lispreader.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id$ */
/* $Id: lispreader.cpp 155 2009-07-31 16:11:29Z grumbel $ */
/*
* lispreader.c
*
Expand Down
2 changes: 1 addition & 1 deletion src/lispreader.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id$ */
/* $Id: lispreader.hpp 152 2007-06-07 09:35:21Z grumbel $ */
/*
* lispreader.h
*
Expand Down
2 changes: 1 addition & 1 deletion src/vector.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
$Id$
$Id: vector.cpp 152 2007-06-07 09:35:21Z grumbel $
------------------------------------------------------------------------
ClanLib, the platform independent game SDK.
Expand Down
2 changes: 1 addition & 1 deletion src/vector.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
$Id$
$Id: vector.hpp 152 2007-06-07 09:35:21Z grumbel $
------------------------------------------------------------------------
ClanLib, the platform independent game SDK.
Expand Down

0 comments on commit d9ff8f6

Please sign in to comment.