diff --git a/Makefile b/Makefile index b8eb65b5..82e5e50f 100644 --- a/Makefile +++ b/Makefile @@ -344,7 +344,6 @@ OPENGL_POSIX_OBJS = \ build/ref_gl_unix/input.o \ build/ref_gl_unix/glob.o \ build/ref_gl_unix/hunk.o \ - build/ref_gl_unix/input2.o \ build/ref_gl_unix/misc.o \ build/ref_gl_unix/qgl.o \ build/ref_gl_unix/refresh.o @@ -802,9 +801,6 @@ build/ref_gl_game/q_shared.o: src/game/baseq2/q_shared.c # ---------- # OpenGL refresher Unix build -build/ref_gl_unix/input.o: src/unix/qgl/input.c - $(CC) $(CFLAGS_OPENGL) -o $@ -c $< - build/ref_gl_unix/glob.o: src/unix/glob.c $(CC) $(CFLAGS_OPENGL) -o $@ -c $< @@ -820,7 +816,7 @@ build/ref_gl_unix/qgl.o: src/unix/qgl/qgl.c build/ref_gl_unix/refresh.o: src/sdl/refresh.c $(CC) $(CFLAGS_OPENGL) $(SDLCFLAGS) -o $@ -c $< -build/ref_gl_unix/input2.o: src/sdl/input.c +build/ref_gl_unix/input.o: src/sdl/input.c $(CC) $(CFLAGS_OPENGL) $(SDLCFLAGS) -o $@ -c $< # ---------- diff --git a/src/unix/qgl/input.c b/src/unix/qgl/input.c deleted file mode 100644 index 37e99784..00000000 --- a/src/unix/qgl/input.c +++ /dev/null @@ -1,42 +0,0 @@ -/* - * This program 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. - * - * ======================================================================= - * - * Plattform dependend input ABI stuff which is needed by the refresher - * - * ======================================================================= - */ - -#include "../../refresh/header/local.h" -#include "../../client/input/header/keyboard.h" -#include "../header/unix.h" - -/* state struct passed in Init */ - -static void -Force_CenterView_f ( void ) -{ - in_state->viewangles [ PITCH ] = 0; -} - - - -void doneMouse (); - - -