mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-10-07 17:01:03 +08:00
graphicsdriver/opengl: Refactoring
This commit is contained in:
@@ -253,11 +253,6 @@ func areSameFloat32Array(a, b []float32) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func bufferSubData(context *context, vertices []float32, indices []uint16) {
|
||||
context.arrayBufferSubData(vertices)
|
||||
context.elementArrayBufferSubData(indices)
|
||||
}
|
||||
|
||||
// useProgram uses the program (programTexture).
|
||||
func (d *Driver) useProgram(mode graphics.CompositeMode, colorM *affine.ColorM, filter graphics.Filter) error {
|
||||
destination := d.state.destination
|
||||
|
Reference in New Issue
Block a user