Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
0c9b1bff5f
2 changed files with 1188 additions and 1188 deletions
  1. +1185
    -1185
      build/macosx/platform_specific_code/juce_mac_CoreAudio.cpp
  2. +3
    -3
      build/macosx/platform_specific_code/juce_mac_Windowing.cpp

+ 1185
- 1185
build/macosx/platform_specific_code/juce_mac_CoreAudio.cpp
File diff suppressed because it is too large
View File


+ 3
- 3
build/macosx/platform_specific_code/juce_mac_Windowing.cpp View File

@@ -3296,7 +3296,7 @@ void AppleRemoteDevice::handleCallbackInternal()
class WindowedGLContext : public OpenGLContext class WindowedGLContext : public OpenGLContext
{ {
public: public:
WindowedGLContext (Component* const component,
WindowedGLContext (Component* const component,
const OpenGLPixelFormat& pixelFormat_, const OpenGLPixelFormat& pixelFormat_,
AGLContext sharedContext) AGLContext sharedContext)
: renderContext (0), : renderContext (0),
@@ -3350,7 +3350,7 @@ public:
aglSetDrawable (renderContext, GetWindowPort (peer->windowRef)); aglSetDrawable (renderContext, GetWindowPort (peer->windowRef));
} }
~WindowedGLContext()
~WindowedGLContext()
{ {
makeInactive(); makeInactive();
aglSetDrawable (renderContext, 0); aglSetDrawable (renderContext, 0);
@@ -3419,7 +3419,7 @@ private:
}; };
//============================================================================== //==============================================================================
OpenGLContext* OpenGLContext::createContextForWindow (Component* const component,
OpenGLContext* OpenGLContext::createContextForWindow (Component* const component,
const OpenGLPixelFormat& pixelFormat, const OpenGLPixelFormat& pixelFormat,
const OpenGLContext* const contextToShareWith) const OpenGLContext* const contextToShareWith)
{ {


Loading…
Cancel
Save