Hajime Hoshi
Hajime Hoshi
Now there are two paths * `sizeCallcack`, which is invoked when the window size is changed by a user * Ebiten functions like `SetWindowSize` Both should be integrated into the...
### Discussed in https://github.com/hajimehoshi/ebiten/discussions/1834 Originally posted by **SolarLune** September 30, 2021 Hello~ I was wondering if it would be possible to add a function to set the monitor a window...
I modified `gears` example like this ```diff diff --git a/examples/gears.c b/examples/gears.c index 3d63013d..721cbccf 100644 --- a/examples/gears.c +++ b/examples/gears.c @@ -338,6 +338,9 @@ int main(int argc, char *argv[]) // Parse command-line...
This is a breaking change so will be in v~3~ 4.
Fixes https://github.com/go-gl/gl/issues/109 # Design Document https://docs.google.com/document/d/1mqquznil9fR2amtb3eTC2ObCx3A8Af_5INqKjO-pKDg/edit?usp=sharing # tl;dr I propose to eliminate Cgo usages on Windows from go-gl/gl by fixing go-gl/glow to generate code using syscall.Syscall.
* The package name is `gles2`. * The build tag name is `gles2`. * [`-l` specifies `GLES2`](https://github.com/go-gl/gl/blob/master/v3.0/gles2/package.go#L22) However, * [The gles2 package tries to load `glBindTransformFeedback`](https://github.com/go-gl/gl/blob/master/v3.0/gles2/package.go#L9129) but this is not...
https://github.com/go-gl/gl/blob/master/v2.1/gl/conversions.go#L94-L106 Go1.16's go vet warns this reflect.SliceHeader usage. See also https://golang.org/pkg/unsafe/ > In general, reflect.SliceHeader and reflect.StringHeader should be used only as *reflect.SliceHeader and *reflect.StringHeader pointing at actual slices or...
For example, in the current `DebugMessageCallback` implementation, Go function's pointer is converted to a C pointer: ```go func DebugMessageCallback(callback DebugProc, userParam unsafe.Pointer) { userDebugCallback = callback C.glowDebugMessageCallback(gpDebugMessageCallback, (C.GLDEBUGPROC)(unsafe.Pointer(&callback)), userParam) }...