mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
opengl: Prepare for Android
This commit is contained in:
parent
64a66c57c0
commit
c07f16d9a4
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// NOTICE: This file is not maintained well.
|
||||
|
||||
// +build android
|
||||
|
||||
package opengl
|
||||
@ -63,6 +61,12 @@ func NewContext() *Context {
|
||||
StaticDraw: mgl.STATIC_DRAW,
|
||||
Triangles: mgl.TRIANGLES,
|
||||
Lines: mgl.LINES,
|
||||
zero: mgl.ZERO,
|
||||
one: mgl.ONE,
|
||||
srcAlpha: mgl.SRC_ALPHA,
|
||||
dstAlpha: mgl.DST_ALPHA,
|
||||
oneMinusSrcAlpha: mgl.ONE_MINUS_SRC_ALPHA,
|
||||
oneMinusDstAlpha: mgl.ONE_MINUS_DST_ALPHA,
|
||||
locationCache: newLocationCache(),
|
||||
lastCompositeMode: CompositeModeUnknown,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user