share/state.o \
share/audio.o \
share/text.o \
- share/sync.o \
share/tilt.o \
share/common.o \
share/keynames.o \
share/state.o \
share/gui.o \
share/text.o \
- share/sync.o \
share/common.o \
share/syswm.o \
share/list.o \
+++ /dev/null
-/*
- * Copyright (C) 2003 Robert Kooima
- *
- * NEVERBALL is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
-
-/*---------------------------------------------------------------------------*/
-
-#ifdef __APPLE__
-#include <OpenGL/OpenGL.h>
-#endif
-
-void sync_init(void)
-{
-#ifdef __APPLE__
- long swap = 1;
- CGLSetParameter(CGLGetCurrentContext(), kCGLCPSwapInterval, &swap);
-#endif
- return;
-}
-
-/*---------------------------------------------------------------------------*/
+++ /dev/null
-/*
- * Copyright (C) 2003 Robert Kooima
- *
- * NEVERBALL is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- */
-
-#ifndef SYNC_H
-#define SYNC_H
-
-/*---------------------------------------------------------------------------*/
-
-void sync_init(void);
-
-/*---------------------------------------------------------------------------*/
-
-#endif
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDepthFunc(GL_LEQUAL);
- /*
- * Mac OS X might still need this, because apparently SDL doesn't do
- * SDL_GL_SWAP_CONTROL on OS X. TODO: investigate.
- */
-#if 0
- if (vsync) sync_init();
-#endif
-
/* If GL supports multisample, and SDL got a multisample buffer... */
#ifdef GL_ARB_multisample