Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1023 Bytes

README.md

File metadata and controls

43 lines (33 loc) · 1023 Bytes

OpenGL C Example

OpenGL C Example is a simple program demonstrating basic modern, core OpenGL 3.3 with CMake 3.5 using the C89 programming language.

This program contains commonly used libraries GLFW, GLAD, and STB.

Requires git and CMake 3.5 or later to build.

opengl-c-example.gif

Dependencies

  • CMake 3.5 or greater
  • OpenGL 3.3 or higher supported graphics card and drivers
  • C89 compiler

Compiling and Running

Clone the repository:

git clone https://github.com/jagger-harris/opengl-c-example.git
cd opengl-c-example
git submodule init
git submodule update

Using provided build script:

./build.sh build run

Without build script:

mkdir build
cd build
cmake ..
make
./executable

Contributing

See the contributing guidelines here.

License