Skip to content

Commit b5f163f

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents e5131b3 + 78df3a1 commit b5f163f

File tree

2 files changed

+53
-6
lines changed

2 files changed

+53
-6
lines changed

.github/workflows/build.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: build
2+
3+
on: [push]
4+
5+
jobs:
6+
linux:
7+
name: 'Linux'
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up JDK 1.11
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 11
16+
- name: Grant execute permission for gradlew
17+
run: chmod +x gradlew
18+
- name: Build with Gradle
19+
run: ./gradlew build
20+
21+
windows:
22+
name: 'Windows'
23+
runs-on: windows-latest
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Set up JDK 1.11
28+
uses: actions/setup-java@v1
29+
with:
30+
java-version: 11
31+
- name: Build with Gradle
32+
run: .\gradlew.bat build
33+
34+
mac:
35+
name: 'Mac OS'
36+
runs-on: macos-latest
37+
38+
steps:
39+
- uses: actions/checkout@v2
40+
- name: Set up JDK 1.11
41+
uses: actions/setup-java@v1
42+
with:
43+
java-version: 11
44+
- name: Grant execute permission for gradlew
45+
run: chmod +x gradlew
46+
- name: Build with Gradle
47+
run: ./gradlew build

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# gln
22

3-
[![Build Status](https://travis-ci.org/kotlin-graphics/gln.svg?branch=master)](https://travis-ci.org/kotlin-graphics/gln)
4-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)]()
5-
![](https://reposs.herokuapp.com/?path=kotlin-graphics/gln&color=yellow)
3+
[![Build Status](https://github.com/kotlin-graphics/gln/workflows/build/badge.svg)](https://github.com/kotlin-graphics/gln/actions?workflow=build)
4+
[![license](https://img.shields.io/badge/License-Apache%202.0-orange.svg)](https://github.com/kotlin-graphics/gln/blob/master/LICENSE)
65
[![Release](https://jitpack.io/v/kotlin-graphics/gln.svg)](https://jitpack.io/#kotlin-graphics/gln)
7-
[![Slack Status](http://slack.kotlinlang.org/badge.svg)](http://slack.kotlinlang.org/)
6+
![Size](https://github-size-badge.herokuapp.com/kotlin-graphics/gln.svg)
7+
[![Github All Releases](https://img.shields.io/github/downloads/kotlin-graphics/gln/total.svg)]()
88

99
OpenGL Next, functional programming
1010

@@ -22,12 +22,12 @@ A buffer in means of OpenGL can be used for vertex attributes, indices, uniform
2222
This
2323

2424
```kotlin
25-
arrayBufferName = glGenBuffers()
25+
val arrayBufferName = glGenBuffers()
2626
glBindBuffer(GL_ARRAY_BUFFER, arrayBufferName)
2727
glBufferData(GL_ARRAY_BUFFER, positionData, GL_STATIC_DRAW)
2828
glBindBuffer(GL_ARRAY_BUFFER, 0)
2929

30-
elementBufferName = glGenBuffers()
30+
val elementBufferName = glGenBuffers()
3131
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, elementBufferName)
3232
glBufferData(GL_ELEMENT_ARRAY_BUFFER, elementData, GL_STATIC_DRAW)
3333
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)

0 commit comments

Comments
 (0)