# from picogl.examples.utils.shaderLoader import PicoGLShader
from OpenGL.raw.GL.VERSION.GL_2_0 import glUseProgram


def bind_shader(shader: PicoGLShader = None) -> None:
    """
    bind_shader

    :param shader:
    :return: None
    Bind the shader program for rendering.
    """
    glUseProgram(shader.program)
