Merge pull request #670 from twpayne/fix-glsl-escaping

Don't escape HTML characters in shader generation
This commit is contained in:
Tom Payne
2013-04-29 02:22:19 -07:00
+4 -4
View File
@@ -20,14 +20,14 @@ goog.addSingletonGetter({{className}}Fragment);
* @const * @const
* @type {string} * @type {string}
*/ */
{{className}}Fragment.DEBUG_SOURCE = 'precision mediump float;\n{{getOriginalFragmentSource}}'; {{className}}Fragment.DEBUG_SOURCE = 'precision mediump float;\n{{{getOriginalFragmentSource}}}';
/** /**
* @const * @const
* @type {string} * @type {string}
*/ */
{{className}}Fragment.OPTIMIZED_SOURCE = 'precision mediump float;{{getFragmentSource}}'; {{className}}Fragment.OPTIMIZED_SOURCE = 'precision mediump float;{{{getFragmentSource}}}';
/** /**
@@ -55,14 +55,14 @@ goog.addSingletonGetter({{className}}Vertex);
* @const * @const
* @type {string} * @type {string}
*/ */
{{className}}Vertex.DEBUG_SOURCE = '{{getOriginalVertexSource}}'; {{className}}Vertex.DEBUG_SOURCE = '{{{getOriginalVertexSource}}}';
/** /**
* @const * @const
* @type {string} * @type {string}
*/ */
{{className}}Vertex.OPTIMIZED_SOURCE = '{{getVertexSource}}'; {{className}}Vertex.OPTIMIZED_SOURCE = '{{{getVertexSource}}}';
/** /**