Skip to content

Commit

Permalink
Removed all gl-soecific code
Browse files Browse the repository at this point in the history
  • Loading branch information
ferris committed May 18, 2013
1 parent 6401f06 commit b3af887
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 148 deletions.
106 changes: 0 additions & 106 deletions GLVideoDriver.cpp

This file was deleted.

34 changes: 0 additions & 34 deletions GLVideoDriver.h

This file was deleted.

3 changes: 1 addition & 2 deletions Main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "Common.h"
#include "Chip8/Chip8.h"
#include "Config.h"
#include "GLVideoDriver.h"
#include "DirectSoundAudioDriver.h"

int Main(const List<String>& arguments)
Expand All @@ -10,7 +9,7 @@ int Main(const List<String>& arguments)
{
Chip8 chip8;

auto videoDriver = new GLVideoDriver();
auto videoDriver = VideoDriverFactory::CreateDefault();
chip8.SetVideoDriver(videoDriver);

auto audioDriver = new DirectSoundAudioDriver();
Expand Down
6 changes: 2 additions & 4 deletions Vip8.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>FslD.lib;FmlD.lib;FelD.lib;FglD.lib;OpenGL32.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>FslD.lib;FmlD.lib;FelD.lib;FglD.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -74,7 +74,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>Fsl.lib;Fml.lib;Fel.lib;Fgl.lib;OpenGL32.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>Fsl.lib;Fml.lib;Fel.lib;Fgl.lib;dsound.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand All @@ -83,7 +83,6 @@
<ClCompile Include="Chip8\Gpu.cpp" />
<ClCompile Include="Config.cpp" />
<ClCompile Include="DirectSoundAudioDriver.cpp" />
<ClCompile Include="GLVideoDriver.cpp" />
<ClCompile Include="Main.cpp" />
</ItemGroup>
<ItemGroup>
Expand All @@ -93,7 +92,6 @@
<ClInclude Include="Common.h" />
<ClInclude Include="Config.h" />
<ClInclude Include="DirectSoundAudioDriver.h" />
<ClInclude Include="GLVideoDriver.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down
2 changes: 0 additions & 2 deletions Vip8.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<ClCompile Include="Chip8\Gpu.cpp">
<Filter>Chip8</Filter>
</ClCompile>
<ClCompile Include="GLVideoDriver.cpp" />
<ClCompile Include="DirectSoundAudioDriver.cpp" />
<ClCompile Include="Chip8\Apu.cpp">
<Filter>Chip8</Filter>
Expand All @@ -28,7 +27,6 @@
<ClInclude Include="Chip8\Gpu.h">
<Filter>Chip8</Filter>
</ClInclude>
<ClInclude Include="GLVideoDriver.h" />
<ClInclude Include="DirectSoundAudioDriver.h" />
<ClInclude Include="Chip8\Apu.h">
<Filter>Chip8</Filter>
Expand Down

0 comments on commit b3af887

Please sign in to comment.