Add syntax highlighting

This commit is contained in:
baldurk
2016-05-15 21:34:00 +02:00
parent f298b81ad2
commit 81a1b2e020
5 changed files with 19 additions and 6 deletions
+1
View File
@@ -10,6 +10,7 @@ The Event Browser becomes most useful when the application has user-defined anno
Doing this is API and platform specific. Example code for D3D11 is included below, using the D3DPERF library that is defined in d3d9.lib, which can still be used in D3D11. (The newer ID3DUserDefinedAnnotation API is also supported).
.. highlight:: c++
.. code:: c++
D3DPERF_BeginEvent(0xffffffff, L"Start of example");