Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Aug 2, 2018
1 parent f9dd209 commit 2ba8897
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libs/mesa/mesa/GL.hx
Expand Up @@ -34,6 +34,11 @@ class GL {
return false;
}

// non standard
public static function getConfigParameter( v : Int ) : Int {
return 0;
}

public static function isContextLost() : Bool {
return false;
}
Expand Down Expand Up @@ -314,6 +319,9 @@ class GL {
public static function vertexAttribIPointer( index : Int, size : Int, type : Int, stride : Int, position : Int ) {
}

public static function vertexAttribDivisor( index : Int, divisor : Int ) {
}

public static function deleteBuffer( b : Buffer ) {
}

Expand Down Expand Up @@ -350,6 +358,9 @@ class GL {
public static function drawArraysInstanced( mode : Int, start : Int, count : Int, primcount : Int ) {
}

public static function multiDrawElementsIndirect( mode : Int, type : Int, data : hl.Bytes, count : Int, stride : Int ) {
}

// queries

public static function createQuery() : Query {
Expand Down Expand Up @@ -824,6 +835,7 @@ class GL {
public static inline var RENDERBUFFER = 0x8D41;
public static inline var READ_FRAMEBUFFER = 0x8CA8;
public static inline var DRAW_FRAMEBUFFER = 0x8CA9;
public static inline var DRAW_INDIRECT_BUFFER = 0x8F3F;

public static inline var RGBA4 = 0x8056;
public static inline var RGB5_A1 = 0x8057;
Expand Down

0 comments on commit 2ba8897

Please sign in to comment.