Update MSVC solutions - 360 buildfix

This commit is contained in:
twinaphex 2015-04-12 19:02:01 +02:00
parent 7c44f3e33e
commit 81cd5df961
4 changed files with 8 additions and 3 deletions

View File

@ -167,8 +167,7 @@ void d3d_make_d3dpp(void *data,
unsigned width = 0;
unsigned height = 0;
if (d3d->ctx_driver && d3d->ctx_driver->get_video_size)
d3d->ctx_driver->get_video_size(d3d, &width, &height);
gfx_ctx_get_video_size(d3d, &width, &height);
d3d->screen_width = width;
d3d->screen_height = height;

View File

@ -386,10 +386,12 @@ void d3d_enable_alpha_blend_texture_func(void *data)
if (!dev)
return;
#ifndef _XBOX360
/* Also blend the texture with the set alpha value. */
dev->SetTextureStageState(0, D3DTSS_ALPHAOP, D3DTOP_MODULATE);
dev->SetTextureStageState(0, D3DTSS_ALPHAARG1, D3DTA_DIFFUSE);
dev->SetTextureStageState(0, D3DTSS_ALPHAARG2, D3DTA_TEXTURE);
#endif
}
void d3d_frame_postprocess(void *data)

View File

@ -189,8 +189,9 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\griffin\griffin.c" />
<ClCompile Include="..\..\griffin\griffin_cpp.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

View File

@ -12,5 +12,8 @@
<ClCompile Include="..\..\griffin\griffin.c">
<Filter>griffin</Filter>
</ClCompile>
<ClCompile Include="..\..\griffin\griffin_cpp.cpp">
<Filter>griffin</Filter>
</ClCompile>
</ItemGroup>
</Project>