summaryrefslogtreecommitdiffstats
path: root/include/HaikuGL
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2014-01-22 19:55:39 -0600
committerAlexander von Gluck IV <kallisti5@unixzen.com>2014-01-26 18:56:05 -0600
commite5e4120723f7aa927faadca96910d4e8cbd99f40 (patch)
tree8e4bb27b73053ca947bf4a404cfb1e74c3e0d812 /include/HaikuGL
parent07149f0252c52b4ac58b6df4e307fd786b49b490 (diff)
downloadexternal_mesa3d-e5e4120723f7aa927faadca96910d4e8cbd99f40.zip
external_mesa3d-e5e4120723f7aa927faadca96910d4e8cbd99f40.tar.gz
external_mesa3d-e5e4120723f7aa927faadca96910d4e8cbd99f40.tar.bz2
haiku: change atomic int to non-volatile
* Our atomic calls changed recently and no longer want atomic int pointers to be volatile * Spellcheck
Diffstat (limited to 'include/HaikuGL')
-rw-r--r--include/HaikuGL/GLRenderer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/HaikuGL/GLRenderer.h b/include/HaikuGL/GLRenderer.h
index 7ffcc34..a93113b 100644
--- a/include/HaikuGL/GLRenderer.h
+++ b/include/HaikuGL/GLRenderer.h
@@ -25,7 +25,7 @@ class BGLRenderer
// Private unimplemented copy constructors
BGLRenderer(const BGLRenderer &);
BGLRenderer & operator=(const BGLRenderer &);
-
+
public:
BGLRenderer(BGLView *view, ulong bgl_options,
BGLDispatcher *dispatcher);
@@ -36,14 +36,14 @@ public:
virtual void LockGL();
virtual void UnlockGL();
-
+
virtual void SwapBuffers(bool VSync = false);
virtual void Draw(BRect updateRect);
virtual status_t CopyPixelsOut(BPoint source, BBitmap *dest);
virtual status_t CopyPixelsIn(BBitmap *source, BPoint dest);
- virtual void FrameResized(float width, float height);
-
+ virtual void FrameResized(float width, float height);
+
virtual void DirectConnected(direct_buffer_info *info);
virtual void EnableDirectMode(bool enabled);
@@ -61,7 +61,7 @@ private:
virtual status_t _Reserved_Renderer_3(int32, void *);
virtual status_t _Reserved_Renderer_4(int32, void *);
- volatile int32 fRefCount; // How much we're still usefull?
+ int32 fRefCount; // How much we're still useful
BGLView* fView; // Never forget who is the boss!
ulong fOptions; // Keep that tune in memory
BGLDispatcher* fDispatcher;// Our personal GL API call dispatcher