Fixed last commit

Yep, forgot to test it :D

It should be okay now


Former-commit-id: 3392523240affb4151f5121decb0e458500878a3
This commit is contained in:
Lynix
2013-04-03 01:25:57 +02:00
parent 34dbd19385
commit 2c7744af41
11 changed files with 33 additions and 76 deletions

View File

@@ -23,7 +23,7 @@
#include <memory>
#include <set>
#include <vector>
#include <Nazara/3D/Debug.hpp>
#include <Nazara/Graphics/Debug.hpp>
namespace
{
@@ -350,7 +350,7 @@ unsigned int NzScene::GetUpdatePerSecond() const
void NzScene::RegisterForUpdate(NzUpdatable* object)
{
#if NAZARA_3D_SAFE
#if NAZARA_GRAPHICS_SAFE
if (!object)
{
NazaraError("Invalid object");
@@ -378,7 +378,7 @@ void NzScene::SetUpdatePerSecond(unsigned int updatePerSecond)
void NzScene::UnregisterForUpdate(NzUpdatable* object)
{
#if NAZARA_3D_SAFE
#if NAZARA_GRAPHICS_SAFE
if (!object)
{
NazaraError("Invalid object");