GSoC/GCI Archive
Google Code-in 2014 Copyleft Games

PySoy: Fix glShaderSource

completed by: Samuel Kim

mentors: AJ Williams, Arc Riley, David Czech

There are currently several warnings when building libsoy. One of them looks like this:

libsoy/src/materials/Textured.gs: In function ‘soy_materials_textured_real_enable’:
libsoy/src/materials/Textured.gs:79:3: warning: passing argument 3 of
 ‘glShaderSource’ from incompatible pointer type
             glShaderSource(_vertex_shader, 1, vertex_shader, {-1})

This can be solved in either our own gles-2.0.vapi or our use of this function in the .gs files. Either way, silence this warning.

While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.