Skip to content

Commit 9f5ae56

Browse files
authored
Fix spelling of "formated" (#71)
1 parent 25a897b commit 9f5ae56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

playgroundShader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public float getTime()
2323
public float4 getMousePosition() { return uniformInput.mousePosition; }
2424
2525
// type field: 1 for format string, 2 for normal string, 3 for integer, 4 for float, 5 for double,
26-
struct FormatedStruct
26+
struct FormattedStruct
2727
{
2828
uint32_t type = 0xFFFFFFFF;
2929
uint32_t low = 0;
@@ -33,7 +33,7 @@ struct FormatedStruct
3333
// This is global variable, intead of shader parameter.
3434
internal static int g_printBufferIndex = 0;
3535
36-
internal RWStructuredBuffer<FormatedStruct> g_printedBuffer;
36+
internal RWStructuredBuffer<FormattedStruct> g_printedBuffer;
3737
3838
interface IPrintf
3939
{

util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function formatSpecifier(value, { flags, width, precision, specifierType }) {
255255

256256

257257
// This is the definition of the printf buffer.
258-
// struct FormatedStruct
258+
// struct FormattedStruct
259259
// {
260260
// uint32_t type = 0xFFFFFFFF;
261261
// uint32_t low = 0;

0 commit comments

Comments
 (0)