]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/opengl/debug/debug-docs.factor
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping ...
[factor.git] / basis / opengl / debug / debug-docs.factor
index dfc0d1993b70443ecec9149438b81f2467a50609..c1564ff90556426054d731337eeef66bdf904fe6 100644 (file)
@@ -4,11 +4,11 @@ IN: opengl.debug
 
 HELP: G
 { $description "Makes the OpenGL context associated with " { $link G-world } " active for subsequent OpenGL calls. This is intended to be used from the listener, where interactively entered OpenGL calls can be directed to any window. Note that the Factor UI resets the OpenGL context every time a window is updated, so every code snippet entered in the listener must be prefixed with " { $snippet "G" } " in this use case." }
-{ $examples { $code """USING: opengl.debug ui ;
+{ $examples { $code "USING: opengl.debug ui ;
 
 [ drop t ] find-window G-world set
 G 0.0 0.0 1.0 1.0 glClearColor
-G GL_COLOR_BUFFER_BIT glClear""" } } ;
+G GL_COLOR_BUFFER_BIT glClear" } } ;
 
 HELP: F
 { $description "Flushes the OpenGL context associated with " { $link G-world } ", thereby committing any outstanding drawing operations." } ;