mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-03 22:44:28 +01:00
internal/graphicsdriver/opengl/gl: Remove an unused file
This commit is contained in:
parent
a8db2d1b5e
commit
a5198275fa
@ -1,35 +0,0 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
//go:build freebsd || linux
|
|
||||||
// +build freebsd linux
|
|
||||||
|
|
||||||
package gl
|
|
||||||
|
|
||||||
// #include <GL/glx.h>
|
|
||||||
//
|
|
||||||
// static const char* RendererDeviceString() {
|
|
||||||
// #ifdef GLX_MESA_query_renderer
|
|
||||||
// static PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC queryString;
|
|
||||||
// if (!queryString) {
|
|
||||||
// queryString = (PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC)
|
|
||||||
// glXGetProcAddressARB((const GLubyte *)"glXQueryCurrentRendererStringMESA");
|
|
||||||
// }
|
|
||||||
// if (!queryString) {
|
|
||||||
// return "";
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// static const char* rendererDevice;
|
|
||||||
// if (!rendererDevice) {
|
|
||||||
// rendererDevice = queryString(GLX_RENDERER_DEVICE_ID_MESA);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// return rendererDevice;
|
|
||||||
// #else
|
|
||||||
// return "";
|
|
||||||
// #endif
|
|
||||||
// }
|
|
||||||
import "C"
|
|
||||||
|
|
||||||
func RendererDeviceString() string {
|
|
||||||
return C.GoString(C.RendererDeviceString())
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user