Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Commit

Permalink
remove unused var; add make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhu committed May 11, 2018
1 parent 48ccc90 commit e57ff57
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,6 @@ ModelManifest.xml

# FAKE - F# Make
.fake/


*.cso
1 change: 1 addition & 0 deletions May 25/May 25.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down
8 changes: 6 additions & 2 deletions May 25/May 25.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,12 @@
<None Include="hlsl\Makefile">
<Filter>Shaders</Filter>
</None>
<None Include="hlsl\ps_shadow.cso" />
<None Include="hlsl\vs_shadow.cso" />
<None Include="hlsl\ps_shadow.cso">
<Filter>Resource Files</Filter>
</None>
<None Include="hlsl\vs_shadow.cso">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Xml Include="mathml.xml" />
Expand Down
1 change: 0 additions & 1 deletion May 25/MyWindowsProcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,6 @@ LRESULT CALLBACK UIWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam
LPDRAWITEMSTRUCT pDIS = (LPDRAWITEMSTRUCT)lParam;
HWND hwnd = pDIS->hwndItem;
BITMAP bm;
PAINTSTRUCT ps;

HDC hdc = pDIS->hDC;

Expand Down
5 changes: 4 additions & 1 deletion May 25/hlsl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ ps_shadow.cso: ShadowmapShader.hlsl
fxc //T ps_5_0 //E "PS" //Fo ps_shadow.cso ShadowmapShader.hlsl

vs_shadow.cso: ShadowmapShader.hlsl
fxc //T vs_5_0 //E "VS" //Fo vs_shadow.cso ShadowmapShader.hlsl
fxc //T vs_5_0 //E "VS" //Fo vs_shadow.cso ShadowmapShader.hlsl

clean:
rm ps.cso vs.cso ps_shadow.cso vs_shadow.cso

0 comments on commit e57ff57

Please sign in to comment.