mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
gpu/internal,internal/gl: add support for strided texture uploads
The CPU fallback of the compute renderer needs to upload subtextures from a larger image. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -1101,7 +1101,7 @@ func (f *Functions) LinkProgram(p Program) {
|
||||
C.glLinkProgram(&f.f, C.GLuint(p.V))
|
||||
}
|
||||
|
||||
func (f *Functions) PixelStorei(pname Enum, param int32) {
|
||||
func (f *Functions) PixelStorei(pname Enum, param int) {
|
||||
C.glPixelStorei(&f.f, C.GLenum(pname), C.GLint(param))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user