wined3d: Fix the spelling of some comments.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f2e5b80707
commit
2cab6bea5e
|
@ -1472,7 +1472,7 @@ static void shader_hw_sample(const struct wined3d_shader_instruction *ins, DWORD
|
||||||
if(ins->dst[0].modifiers & WINED3DSPDM_SATURATE) mod = "_SAT";
|
if(ins->dst[0].modifiers & WINED3DSPDM_SATURATE) mod = "_SAT";
|
||||||
else mod = "";
|
else mod = "";
|
||||||
|
|
||||||
/* Fragment samplers always have indentity mapping */
|
/* Fragment samplers always have identity mapping */
|
||||||
if(sampler_idx >= WINED3D_MAX_FRAGMENT_SAMPLERS)
|
if(sampler_idx >= WINED3D_MAX_FRAGMENT_SAMPLERS)
|
||||||
{
|
{
|
||||||
sampler_idx = priv->cur_vs_args->vertex.samplers[sampler_idx - WINED3D_MAX_FRAGMENT_SAMPLERS];
|
sampler_idx = priv->cur_vs_args->vertex.samplers[sampler_idx - WINED3D_MAX_FRAGMENT_SAMPLERS];
|
||||||
|
|
|
@ -4487,7 +4487,7 @@ static void wined3d_context_gl_draw_primitive_arrays(struct wined3d_context_gl *
|
||||||
* this for now.
|
* this for now.
|
||||||
*
|
*
|
||||||
* Shouldn't be too hard to support with OpenGL, in theory just call
|
* Shouldn't be too hard to support with OpenGL, in theory just call
|
||||||
* glDrawArrays() instead of drawElements(). But the stream fequency value
|
* glDrawArrays() instead of drawElements(). But the stream frequency value
|
||||||
* has a different meaning in that situation. */
|
* has a different meaning in that situation. */
|
||||||
if (!idx_size)
|
if (!idx_size)
|
||||||
{
|
{
|
||||||
|
|
|
@ -216,7 +216,7 @@ static HRESULT vertexdeclaration_init(struct wined3d_vertex_declaration *declara
|
||||||
declaration->position_transformed = TRUE;
|
declaration->position_transformed = TRUE;
|
||||||
|
|
||||||
/* Find the streams used in the declaration. The vertex buffers have
|
/* Find the streams used in the declaration. The vertex buffers have
|
||||||
* to be loaded when drawing, but filter tesselation pseudo streams. */
|
* to be loaded when drawing, but filter tessellation pseudo streams. */
|
||||||
if (e->input_slot >= WINED3D_MAX_STREAMS)
|
if (e->input_slot >= WINED3D_MAX_STREAMS)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
|
@ -3132,7 +3132,7 @@ struct wined3d_state
|
||||||
|
|
||||||
struct wined3d_vertex_declaration *vertex_declaration;
|
struct wined3d_vertex_declaration *vertex_declaration;
|
||||||
struct wined3d_stream_output stream_output[WINED3D_MAX_STREAM_OUTPUT_BUFFERS];
|
struct wined3d_stream_output stream_output[WINED3D_MAX_STREAM_OUTPUT_BUFFERS];
|
||||||
struct wined3d_stream_state streams[WINED3D_MAX_STREAMS + 1 /* tesselated pseudo-stream */];
|
struct wined3d_stream_state streams[WINED3D_MAX_STREAMS + 1 /* tessellated pseudo-stream */];
|
||||||
struct wined3d_buffer *index_buffer;
|
struct wined3d_buffer *index_buffer;
|
||||||
enum wined3d_format_id index_format;
|
enum wined3d_format_id index_format;
|
||||||
unsigned int index_offset;
|
unsigned int index_offset;
|
||||||
|
|
Loading…
Reference in New Issue