Commit 1d839e42 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Add a comment to clarify the point of max_sampler_stages.

parent 193f6bbd
......@@ -766,6 +766,9 @@ BOOL IWineD3DImpl_FillGLCaps(IWineD3D *iface, Display* display) {
}
checkGLcall("extension detection\n");
/* In some cases the number of texture stages can be larger than the number
* of samplers. The GF4 for example can use only 2 samplers (no fragment
* shaders), but 8 texture stages (register combiners). */
gl_info->max_sampler_stages = max(gl_info->max_samplers, gl_info->max_texture_stages);
/* We can only use NP2_NATIVE when the hardware supports it. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment