ebiten/internal/restorable
Hajime Hoshi 243c224003 internal/restorable: bug fix: wrong panic on mixing DrawTriangles and WritePixels
When DrawTriangles is called and then WritePixels is called on a
sub-image, a panic happened. However, this panic actually happens
only when the graphics driver requires restoring (e.g. OpenGL ES
on Android). The situation was very limited, but this was a real
problem on Android.

This panic was introduced to prevent a rendering bug by a inmature
graphics drivers, but we should no longer need this. This change
just removes the panic.

Updates #292
2022-09-13 06:18:55 -07:00
..
doc.go ebiten: add WritePixels replacing ReplacePixels 2022-08-08 03:50:27 +09:00
image.go internal/restorable: bug fix: wrong panic on mixing DrawTriangles and WritePixels 2022-09-13 06:18:55 -07:00
images_test.go internal/restorable: bug fix: wrong panic on mixing DrawTriangles and WritePixels 2022-09-13 06:18:55 -07:00
images.go internal/graphicscommand: move availableFilename to graphicscommand 2022-08-31 13:26:14 +09:00
rect.go image/rectangle: read pixels only for necessary parts 2022-08-27 23:23:33 +09:00
shader_test.go internal/restorable: rename ReplacePixels -> WritePixels 2022-08-08 03:16:26 +09:00
shader.go ebiten: compile shaders at NewShader 2022-04-04 02:52:57 +09:00