Browse Source

Fix compilation..

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
1e24a19bea
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/modules/timer/wrap_Timer.cpp

+ 1 - 3
src/modules/timer/wrap_Timer.cpp

@@ -23,8 +23,6 @@
 // LOVE
 // LOVE
 #include "wrap_Timer.h"
 #include "wrap_Timer.h"
 
 
-#include "sdl/Timer.h"
-
 namespace love
 namespace love
 {
 {
 namespace timer
 namespace timer
@@ -86,7 +84,7 @@ extern "C" int luaopen_love_timer(lua_State *L)
 	Timer *instance = instance();
 	Timer *instance = instance();
 	if (instance == nullptr)
 	if (instance == nullptr)
 	{
 	{
-		luax_catchexcept(L, [&](){ instance = new love::timer::sdl::Timer(); });
+		luax_catchexcept(L, [&](){ instance = new love::timer::Timer(); });
 	}
 	}
 	else
 	else
 		instance->retain();
 		instance->retain();