diff options
Diffstat (limited to 'src/SFML/Graphics/VideoResource.cpp')
-rwxr-xr-x | src/SFML/Graphics/VideoResource.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/SFML/Graphics/VideoResource.cpp b/src/SFML/Graphics/VideoResource.cpp index 5f7e35d..87c7782 100755 --- a/src/SFML/Graphics/VideoResource.cpp +++ b/src/SFML/Graphics/VideoResource.cpp @@ -1,7 +1,7 @@ ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com)
+// Copyright (C) 2007-2008 Laurent Gomila (laurent.gom@gmail.com)
//
// 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.
@@ -26,7 +26,7 @@ // Headers
////////////////////////////////////////////////////////////
#include <SFML/Graphics/VideoResource.hpp>
-#include <SFML/Graphics/GraphicsDevice.hpp>
+#include <SFML/Graphics/Renderer.hpp>
namespace sf
@@ -36,7 +36,7 @@ namespace sf ////////////////////////////////////////////////////////////
VideoResource::VideoResource()
{
- priv::GraphicsDevice::GetInstance().AddVideoResource(this);
+ GetRenderer().AddVideoResource(this);
}
@@ -45,7 +45,7 @@ VideoResource::VideoResource() ////////////////////////////////////////////////////////////
VideoResource::VideoResource(const VideoResource&)
{
- priv::GraphicsDevice::GetInstance().AddVideoResource(this);
+ GetRenderer().AddVideoResource(this);
}
@@ -54,7 +54,7 @@ VideoResource::VideoResource(const VideoResource&) ////////////////////////////////////////////////////////////
VideoResource::~VideoResource()
{
- priv::GraphicsDevice::GetInstance().RemoveVideoResource(this);
+ GetRenderer().RemoveVideoResource(this);
}
} // namespace sf
|