microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
615 stars 166 forks source link

Compilation error for samplers.sln due to macro SHADER_SOURCE missing #148

Closed WoodRain closed 5 years ago

WoodRain commented 6 years ago

Open samples/samples.sln using VS2015 and build the entire solution, then there're compilation errors complaining about that SHADER_SOURCE is missing in texture_loading_dds and texture_loading_wic projects. Define a macro for it or use C++11 raw string will solve the problem. Here's the diff used.

austinkinross commented 6 years ago

Thanks for reporting this!

texture_loading_dds and texture_loading_wic are two samples that we haven't submitted to the master ANGLE repository yet. They were probably broken during our last merge from master-- for example, SHADER_SOURCE might have been removed without us noticing.

We'll try to fix this soon. Thanks again.

austinkinross commented 5 years ago

Hi, apologies that we didn't get to fix this. These samples have now been deprecated, although they are still available over in this branch as a reference.