Ejemplo n.º 1
0
func GL_ExtensionSupported(ext string) bool {
	cext := C.CString(ext)
	defer C.free(unsafe.Pointer(cext))

	return C.SDL_GL_ExtensionSupported(cext) == C.SDL_TRUE
}
Ejemplo n.º 2
0
func GL_ExtensionSupported(extension string) bool {
	_extension := C.CString(extension)
	defer C.free(unsafe.Pointer(_extension))
	return C.SDL_GL_ExtensionSupported(_extension) != 0
}
Ejemplo n.º 3
0
// GL_ExtensionSupported (https://wiki.libsdl.org/SDL_GL_ExtensionSupported)
func GL_ExtensionSupported(extension string) bool {
	_extension := C.CString(extension)
	return C.SDL_GL_ExtensionSupported(_extension) != 0
}