From 62f5c25acefde9a66dc5f2ed052b1f1f488f878c Mon Sep 17 00:00:00 2001 From: Krylov Yaroslav Date: Thu, 30 May 2019 13:26:29 +0300 Subject: [PATCH] vivante_monitor.c removed. null_monitor.c used instead --- src/CMakeLists.txt | 2 +- src/vivante_monitor.c | 75 ------------------------------------------- 2 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 src/vivante_monitor.c diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cf20d1dd6..fef93ad58 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -63,7 +63,7 @@ elseif (_GLFW_OSMESA) elseif (_GLFW_VIVANTE) set(glfw_HEADERS ${common_HEADERS} vivante_platform.h xkb_unicode.h linux_joystick.h posix_time.h posix_thread.h egl_context.h) - set(glfw_SOURCES ${common_SOURCES} vivante_init.c vivante_monitor.c vivante_window.c + set(glfw_SOURCES ${common_SOURCES} vivante_init.c null_monitor.c vivante_window.c xkb_unicode.c linux_joystick.c posix_time.c posix_thread.c egl_context.c) endif() diff --git a/src/vivante_monitor.c b/src/vivante_monitor.c deleted file mode 100644 index f5cb092f7..000000000 --- a/src/vivante_monitor.c +++ /dev/null @@ -1,75 +0,0 @@ -//======================================================================== -// GLFW 3.3 - www.glfw.org -//------------------------------------------------------------------------ -// Copyright (c) 2016 Google Inc. -// Copyright (c) 2016-2019 Camilla Löwy -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. -// -//======================================================================== - -#include "internal.h" - - -////////////////////////////////////////////////////////////////////////// -////// GLFW platform API ////// -////////////////////////////////////////////////////////////////////////// - -void _glfwPlatformFreeMonitor(_GLFWmonitor* monitor) -{ -} - -void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos) -{ -} - -void _glfwPlatformGetMonitorContentScale(_GLFWmonitor* monitor, - float* xscale, float* yscale) -{ - if (xscale) - *xscale = 1.f; - if (yscale) - *yscale = 1.f; -} - -void _glfwPlatformGetMonitorWorkarea(_GLFWmonitor* monitor, - int* xpos, int* ypos, - int* width, int* height) -{ -} - -GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* found) -{ - return NULL; -} - -void _glfwPlatformGetVideoMode(_GLFWmonitor* monitor, GLFWvidmode* mode) -{ -} - -GLFWbool _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) -{ - return GLFW_FALSE; -} - -void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) -{ -} -