GPU: Add deprecation notice to the docstring of GPUShader constructor
This commit is contained in:
@@ -929,6 +929,8 @@ PyDoc_STRVAR(
|
||||
".. class:: GPUShader(vertexcode, fragcode, geocode=None, libcode=None, defines=None, "
|
||||
"name='pyGPUShader')\n"
|
||||
"\n"
|
||||
" Deprecated, use gpu.shader.create_from_info(shader_info) instead.\n"
|
||||
"\n"
|
||||
" GPUShader combines multiple GLSL shaders into a program used for drawing.\n"
|
||||
" It must contain at least a vertex and fragment shaders.\n"
|
||||
"\n"
|
||||
|
||||
Reference in New Issue
Block a user