mingwMain.com.soywiz.kgl.KmlGlNative.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of korgw Show documentation
Show all versions of korgw Show documentation
Portable UI with accelerated graphics support for Kotlin
// WARNING: File autogenerated DO NOT modify
// https://www.khronos.org/registry/OpenGL/api/GLES2/gl2.h
@file:Suppress("unused", "RedundantUnitReturnType", "PropertyName")
package com.soywiz.kgl
import kotlinx.cinterop.*
import platform.windows.*
private val OPENGL32_DLL_MODULE: HMODULE? by lazy { LoadLibraryA("opengl32.dll") }
internal actual fun glGetProcAddressAnyOrNull(name: String): COpaquePointer? =
wglGetProcAddress(name) ?: GetProcAddress(OPENGL32_DLL_MODULE, name)
actual class KmlGlNative actual constructor() : NativeBaseKmlGl() {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy