Skip to content

Commit

Permalink
Revert "Merge commit 'refs/pull/338/head' of https://github.com/coelc…
Browse files Browse the repository at this point in the history
…kers/gzdoom"

This reverts commit 65bb8a5, reversing
changes made to 619281d.
  • Loading branch information
madame-rachelle committed Jul 10, 2017
1 parent 26355ec commit d2c8a5c
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 809 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Expand Up @@ -300,8 +300,6 @@ endif()

set( LZMA_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/lzma/C" )

option( GZDOOM_USE_OPENVR "Support OpenVR API for virtual reality head mounted displays" OFF )

if( NOT CMAKE_CROSSCOMPILING )
if( NOT CROSS_EXPORTS )
set( CROSS_EXPORTS "" )
Expand Down
26 changes: 0 additions & 26 deletions src/CMakeLists.txt
Expand Up @@ -461,31 +461,6 @@ if( NOT DYN_FLUIDSYNTH )
endif()
endif()

if (GZDOOM_USE_OPENVR)
find_path(OPENVR_SDK_PATH
NAMES
headers/openvr.h
HINTS
ENV OPENVR_DIR ENV PROGRAMFILES ENV HOME ENV USERPROFILE
PATH_SUFFIXES
openvr git/openvr
)
find_path(OPENVR_INCLUDE_DIRECTORY
NAMES
openvr.h
HINTS
${OPENVR_SDK_PATH}/headers
)
include_directories("${OPENVR_INCLUDE_DIRECTORY}")
find_library(OPENVR_LIBRARY
NAMES openvr_api
# TODO: Generalize for Mac and Linux and 64-bit Windows
HINTS "${OPENVR_SDK_PATH}/lib/win32/"
)
list(APPEND ZDOOM_LIBS ${OPENVR_LIBRARY})
add_definitions("-DUSE_OPENVR")
endif()

# Start defining source files for ZDoom
set( PLAT_WIN32_SOURCES
sound/mididevices/music_win_mididevice.cpp
Expand Down Expand Up @@ -1020,7 +995,6 @@ set (PCH_SOURCES
gl/stereo3d/gl_stereo_leftright.cpp
gl/stereo3d/scoped_view_shifter.cpp
gl/stereo3d/gl_anaglyph.cpp
gl/stereo3d/gl_openvr.cpp
gl/stereo3d/gl_quadstereo.cpp
gl/stereo3d/gl_sidebyside3d.cpp
gl/stereo3d/gl_interleaved3d.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/gl/data/gl_matrix.h
Expand Up @@ -62,7 +62,7 @@ class VSMatrix {
void perspective(FLOATTYPE fov, FLOATTYPE ratio, FLOATTYPE nearp, FLOATTYPE farp);
void ortho(FLOATTYPE left, FLOATTYPE right, FLOATTYPE bottom, FLOATTYPE top, FLOATTYPE nearp=-1.0f, FLOATTYPE farp=1.0f);
void frustum(FLOATTYPE left, FLOATTYPE right, FLOATTYPE bottom, FLOATTYPE top, FLOATTYPE nearp, FLOATTYPE farp);
void copy(FLOATTYPE * pDest) const
void copy(FLOATTYPE * pDest)
{
memcpy(pDest, mMatrix, 16 * sizeof(FLOATTYPE));
}
Expand Down
162 changes: 0 additions & 162 deletions src/gl/stereo3d/LSMatrix.h

This file was deleted.

0 comments on commit d2c8a5c

Please sign in to comment.