From 80590ab3174a56a407c42e40f33b141b12f5580a Mon Sep 17 00:00:00 2001 From: James Gray Date: Mon, 18 Apr 2016 20:11:49 -0500 Subject: [PATCH] console: add debugReadFrameBuffer method --- lime/graphics/ConsoleRenderContext.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lime/graphics/ConsoleRenderContext.hx b/lime/graphics/ConsoleRenderContext.hx index adedb40a2..4e2c5b8aa 100644 --- a/lime/graphics/ConsoleRenderContext.hx +++ b/lime/graphics/ConsoleRenderContext.hx @@ -75,6 +75,8 @@ extern class ConsoleRenderContext { public function draw (primitive:Primitive, startVertex:UInt32, primitiveCount:UInt32):Void; public function drawIndexed (primitive:Primitive, vertexCount:UInt32, startIndex:UInt32, primitiveCount:UInt32):Void; + public function debugReadFrameBuffer (dest:Pointer, width:Int, height:Int):Void; + private function get_width ():Int; private function get_height ():Int;