Couple of minor fixes

This commit is contained in:
baldurk
2015-07-19 00:36:22 +02:00
parent 03d5e1e659
commit 6975997413
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -25,6 +25,8 @@ d3dDevice->CreateTexture2D(&descriptor, NULL, &tex2d);
tex2d->SetPrivateData(WKPDID_D3DDebugObjectName, "Example Texture", sizeof("Example Texture"));
</code>
<para>In OpenGL this can be done with GL_KHR_debug - glObjectLabel.</para>
<para>When this texture is bound to the pipeline it will be listed like so:</para>
<mediaLink>
<caption placement="after" lead="Named Texture">The example texture bound with name displayed.</caption>