All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mingwMain.com.soywiz.kgl.KmlGlNative.kt Maven / Gradle / Ivy

There is a newer version: 4.0.10
Show newest version
// 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