mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
- fixed windows build (removed gl2 references)
This commit is contained in:
@@ -13,19 +13,9 @@
|
||||
#define _SHARED_PLATFORM_FACTORYREPOSITORY_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "graphics_factory.h"
|
||||
#include "sound_factory.h"
|
||||
|
||||
#include "graphics_factory_gl.h"
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include "graphics_factory_gl2.h"
|
||||
//#include "sound_factory_ds8.h"
|
||||
|
||||
#endif
|
||||
|
||||
#include "sound_factory_openal.h"
|
||||
#include "sound_factory_none.h"
|
||||
#include "leak_dumper.h"
|
||||
@@ -35,24 +25,16 @@ using std::string;
|
||||
using Shared::Graphics::GraphicsFactory;
|
||||
using Shared::Sound::SoundFactory;
|
||||
using Shared::Graphics::Gl::GraphicsFactoryGl;
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
using Shared::Graphics::Gl::GraphicsFactoryGl2;
|
||||
//using Shared::Sound::Ds8::SoundFactoryDs8;
|
||||
|
||||
#endif
|
||||
|
||||
using Shared::Sound::OpenAL::SoundFactoryOpenAL;
|
||||
using Shared::Sound::SoundFactoryNone;
|
||||
|
||||
namespace Shared{ namespace Platform{
|
||||
namespace Shared { namespace Platform {
|
||||
|
||||
// =====================================================
|
||||
// class FactoryRepository
|
||||
// =====================================================
|
||||
|
||||
class FactoryRepository{
|
||||
class FactoryRepository {
|
||||
private:
|
||||
FactoryRepository(){};
|
||||
FactoryRepository(const FactoryRepository& );
|
||||
@@ -60,14 +42,6 @@ private:
|
||||
|
||||
private:
|
||||
GraphicsFactoryGl graphicsFactoryGl;
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
GraphicsFactoryGl2 graphicsFactoryGl2;
|
||||
//SoundFactoryDs8 soundFactoryDs8;
|
||||
|
||||
#endif
|
||||
|
||||
SoundFactoryOpenAL soundFactoryOpenAL;
|
||||
SoundFactoryNone soundFactoryNone;
|
||||
|
||||
|
Reference in New Issue
Block a user