Skip to content

Commit

Permalink
Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
PCigales authored Aug 24, 2022
1 parent 72fa69c commit 33a2452
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GPXTweaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10246,10 +10246,10 @@ class GPXTweakerWebInterfaceServer():
' }\r\n' \
' }\r\n' \
' function buffer_load(src) {\r\n' \
' let gl_buffer = this.gl.createBuffer();\r\n' \
' this.gl.bindBuffer(this.gl.ARRAY_BUFFER, gl_buffer);\r\n' \
' this.gl.bufferData(this.gl.ARRAY_BUFFER, src, gl.STATIC_DRAW);\r\n' \
' this.gl.bindBuffer(this.gl.ARRAY_BUFFER, null);\r\n' \
' let gl_buffer = gl.createBuffer();\r\n' \
' gl.bindBuffer(gl.ARRAY_BUFFER, gl_buffer);\r\n' \
' gl.bufferData(gl.ARRAY_BUFFER, src, gl.STATIC_DRAW);\r\n' \
' gl.bindBuffer(gl.ARRAY_BUFFER, null);\r\n' \
' return gl_buffer;\r\n' \
' }\r\n' \
' function texture_load(unit, src, rgb=true) {\r\n' \
Expand Down

0 comments on commit 33a2452

Please sign in to comment.