Commit 2cab6bea authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wined3d: Fix the spelling of some comments.

parent f2e5b807
......@@ -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";
else mod = "";
/* Fragment samplers always have indentity mapping */
/* Fragment samplers always have identity mapping */
if(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.
*
* 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. */
if (!idx_size)
{
......
......@@ -216,7 +216,7 @@ static HRESULT vertexdeclaration_init(struct wined3d_vertex_declaration *declara
declaration->position_transformed = TRUE;
/* 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)
continue;
......
......@@ -3132,7 +3132,7 @@ struct wined3d_state
struct wined3d_vertex_declaration *vertex_declaration;
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;
enum wined3d_format_id index_format;
unsigned int index_offset;
......
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