From 1eef0f08691134a37f239686a6916d21d2913e9a Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 27 Nov 2012 15:21:49 +0100 Subject: [PATCH] Renamed context module files. --- src/CMakeLists.txt | 12 ++++++------ src/{opengl.c => context.c} | 0 src/{egl_opengl.c => egl_context.c} | 0 src/{glx_opengl.c => glx_context.c} | 0 src/{nsgl_opengl.m => nsgl_context.m} | 0 src/{wgl_opengl.c => wgl_context.c} | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename src/{opengl.c => context.c} (100%) rename src/{egl_opengl.c => egl_context.c} (100%) rename src/{glx_opengl.c => glx_context.c} (100%) rename src/{nsgl_opengl.m => nsgl_context.m} (100%) rename src/{wgl_opengl.c => wgl_context.c} (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 08ee9dad..7f5be33b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,8 +7,8 @@ if (MSVC) endif() set(common_HEADERS ${GLFW_SOURCE_DIR}/include/GL/glfw3.h internal.h) -set(common_SOURCES clipboard.c fullscreen.c gamma.c init.c input.c - joystick.c opengl.c time.c window.c) +set(common_SOURCES clipboard.c context.c fullscreen.c gamma.c init.c input.c + joystick.c time.c window.c) if (_GLFW_COCOA) set(glfw_HEADERS ${common_HEADERS} cocoa_platform.h) @@ -41,16 +41,16 @@ endif() if (_GLFW_EGL) list(APPEND glfw_HEADERS ${common_HEADERS} egl_platform.h) - list(APPEND glfw_SOURCES ${common_SOURCES} egl_opengl.c) + list(APPEND glfw_SOURCES ${common_SOURCES} egl_context.c) elseif (_GLFW_NSGL) list(APPEND glfw_HEADERS ${common_HEADERS} nsgl_platform.h) - list(APPEND glfw_SOURCES ${common_SOURCES} nsgl_opengl.m) + list(APPEND glfw_SOURCES ${common_SOURCES} nsgl_context.m) elseif (_GLFW_WGL) list(APPEND glfw_HEADERS ${common_HEADERS} wgl_platform.h) - list(APPEND glfw_SOURCES ${common_SOURCES} wgl_opengl.c) + list(APPEND glfw_SOURCES ${common_SOURCES} wgl_context.c) elseif (_GLFW_X11) list(APPEND glfw_HEADERS ${common_HEADERS} glx_platform.h) - list(APPEND glfw_SOURCES ${common_SOURCES} glx_opengl.c) + list(APPEND glfw_SOURCES ${common_SOURCES} glx_context.c) endif() if (_GLFW_NSGL) diff --git a/src/opengl.c b/src/context.c similarity index 100% rename from src/opengl.c rename to src/context.c diff --git a/src/egl_opengl.c b/src/egl_context.c similarity index 100% rename from src/egl_opengl.c rename to src/egl_context.c diff --git a/src/glx_opengl.c b/src/glx_context.c similarity index 100% rename from src/glx_opengl.c rename to src/glx_context.c diff --git a/src/nsgl_opengl.m b/src/nsgl_context.m similarity index 100% rename from src/nsgl_opengl.m rename to src/nsgl_context.m diff --git a/src/wgl_opengl.c b/src/wgl_context.c similarity index 100% rename from src/wgl_opengl.c rename to src/wgl_context.c