Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/f/l/Flappy-0.3.7/flappy/display3d/scene3d.py   Flappy(Download)
        self._do(gl.uniform1i, loc, texture_index)
        self._do(gl.texParameter, gl.TEXTURE_2D,
                        gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE)
        self._do(gl.texParameter, gl.TEXTURE_2D,
                        gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE)
        self._do(self._bind_texture, texture)
        self._do(gl.texParameter, gl.TEXTURE_2D,
                                    gl.TEXTURE_WRAP_S, gl.REPEAT)
        self._do(gl.texParameter, gl.TEXTURE_2D,
                                    gl.TEXTURE_WRAP_T, gl.REPEAT)