[Bf-blender-cvs] [e2522f4] soc-2014-viewport_context: Cleanup: minor edits
Campbell Barton
noreply at git.blender.org
Sat Jul 26 04:39:03 CEST 2014
Commit: e2522f46e85103c0ebc9ee675ac41ce9ca04b474
Author: Campbell Barton
Date: Fri Jul 25 15:15:31 2014 +1000
Branches: soc-2014-viewport_context
https://developer.blender.org/rBe2522f46e85103c0ebc9ee675ac41ce9ca04b474
Cleanup: minor edits
===================================================================
M intern/ghost/intern/GHOST_Context.h
M intern/ghost/intern/GHOST_ContextGLX.cpp
M intern/ghost/intern/GHOST_ContextWGL.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_Context.h b/intern/ghost/intern/GHOST_Context.h
index 4d7c947..b5234e8 100644
--- a/intern/ghost/intern/GHOST_Context.h
+++ b/intern/ghost/intern/GHOST_Context.h
@@ -40,7 +40,6 @@
#include <cstdlib> // for NULL
-
class GHOST_Context
{
public:
@@ -145,7 +144,6 @@ private:
};
-
GLenum glew_chk(GLenum error, const char *file, int line, const char *text);
#ifndef NDEBUG
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp
index 71a70b9..8cc66dc 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -38,7 +38,6 @@
#include <cassert>
#include <cstdio>
-#include <cstdlib>
#include <cstring>
@@ -140,7 +139,7 @@ void GHOST_ContextGLX::initContextGLXEW()
GHOST_TSuccess GHOST_ContextGLX::initializeDrawingContext()
{
- /* Set up the minimum atrributes that we require and see if
+ /* Set up the minimum attributes that we require and see if
* X can find us a visual matching those requirements. */
std::vector<int> attribs;
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cpp
index ae098c4..9581830 100644
--- a/intern/ghost/intern/GHOST_ContextWGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextWGL.cpp
@@ -48,7 +48,7 @@ int GHOST_ContextWGL::s_sharedCount = 0;
bool GHOST_ContextWGL::s_singleContextMode = false;
-/* Intel videocards don't work fine with multiple contexts and
+/* Intel video-cards don't work fine with multiple contexts and
* have to share the same context for all windows.
* But if we just share context for all windows it could work incorrect
* with multiple videocards configuration. Suppose, that Intel videocards
More information about the Bf-blender-cvs
mailing list