dummy

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: BSL-1.0 Imports: 2 Imported by: 0

README

dummy

GoDoc

About

dummy is a package for Go to create OpenGL 1.0 context and make it current. It is published on https://gitlab.com/vbsw/g2d/dummy.

Copyright 2021, Vitali Baumtrok (vbsw@mailbox.org).

dummy is distributed under the Boost Software License, version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)

dummy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Boost Software License for more details.

Compile

Install Go (https://golang.org/doc/install). For Cgo install a C compiler (https://jmeubank.github.io/tdm-gcc/).

References

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy() error

Destroy releases current OpenGL context and its window ressources.

func Init

func Init() error

Init creates a window with OpenGL 1.0 context and make the context current.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL