forked from joejulian/gio
f305f71b20
The new Framebuffer.ReadPixels method is enough to implement Window.Screenshot. Use that instead of the OpenGL-specific implementation. Signed-off-by: Elias Naur <mail@eliasnaur.com>
8 lines
143 B
Go
8 lines
143 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
package headless
|
|
|
|
func newContext(width, height int) (backend, error) {
|
|
return newGLContext()
|
|
}
|