diff --git a/source/blender/python/gpu/gpu_py_shader.cc b/source/blender/python/gpu/gpu_py_shader.cc index 85f5ecc9062..e9b4a87bc0f 100644 --- a/source/blender/python/gpu/gpu_py_shader.cc +++ b/source/blender/python/gpu/gpu_py_shader.cc @@ -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"