]> git.cworth.org Git - apitrace/commitdiff
doc: Update examples to use call 0.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 16 Nov 2012 21:29:40 +0000 (21:29 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 16 Nov 2012 21:29:40 +0000 (21:29 +0000)
Call numbers start from 0, but examples gave the impression it started
from call 1.

README.markdown

index af54b7f959a86da9ae3483f1611473f54b54b8a4..eb0945b5db2e865d99f7302adb788336737066c2 100644 (file)
@@ -85,15 +85,15 @@ The call syntax is very flexible. Here are a few examples:
 
  * `4`             one call
 
- * `1,2,4,5`       set of calls
+ * `0,2,4,5`       set of calls
 
- * `"1 2 4 5"`     set of calls (commas are optional and can be replaced with whitespace)
+ * `"0 2 4 5"`     set of calls (commas are optional and can be replaced with whitespace)
 
- * `1-100/2`       calls 1, 3, 5, ...,  99
+ * `0-100/2`       calls 1, 3, 5, ...,  99
 
- * `1-1000/draw`   all draw calls between 1 and 1000
+ * `0-1000/draw`   all draw calls between 0 and 1000
 
- * `1-1000/fbo`    all fbo changes between calls 1 and 1000
+ * `0-1000/fbo`    all fbo changes between calls 0 and 1000
 
  * `frame`         all calls at end of frames