Skip to content

Commit 4c57eb2

Browse files
committed
Tutorials - typo fix
1 parent cfd125a commit 4c57eb2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tutorials/50_curve/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int main()
3535
{
3636
// enable Radeon ProRender API trace
3737
// set this before any RPR API calls
38-
// frContextSetParameter1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
38+
// rprContextSetParameterByKey1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
3939

4040
std::cout << "Radeon ProRender SDK simple rendering tutorial.\n";
4141
// Indicates whether the last operation has suceeded or not

tutorials/60_mesh_export/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int main()
3030
{
3131
// enable Radeon ProRender API trace
3232
// set this before any RPR API calls
33-
// frContextSetParameter1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
33+
// rprContextSetParameterByKey1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
3434

3535
std::cout << "Radeon ProRender SDK simple rendering tutorial.\n";
3636
// Indicates whether the last operation has suceeded or not

tutorials/61_mesh_import/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int main()
3131
{
3232
// enable Radeon ProRender API trace
3333
// set this before any RPR API calls
34-
// frContextSetParameter1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
34+
// rprContextSetParameterByKey1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
3535

3636
std::cout << "Radeon ProRender SDK simple rendering tutorial.\n";
3737
// Indicates whether the last operation has suceeded or not

tutorials/63_hybrid/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main()
3232
{
3333
// enable Radeon ProRender API trace
3434
// set this before any RPR API calls
35-
// frContextSetParameter1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
35+
// rprContextSetParameterByKey1u(0,RPR_CONTEXT_TRACING_ENABLED,1);
3636

3737
std::cout << "Radeon ProRender SDK matball scene rendering tutorial.\n";
3838
// Indicates whether the last operation has suceeded or not

0 commit comments

Comments
 (0)