Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

srcJPG method was put back for the demo

  • Loading branch information...
commit d85cb7ba6d7f655ddc2ab24cbaed27d6b13fcc71 1 parent 9a5cb67
krizsa authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  hosts/node-o3/sh_node.cc
  2. +2 −2 modules/canvas/cCanvas.h
View
2  hosts/node-o3/sh_node.cc
@@ -15,7 +15,7 @@
* this library; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
+#define CANVAS_USE_JPEG
#define O3_NODE
#include <v8.h>
#include <o3.h>
View
4 modules/canvas/cCanvas.h
@@ -584,7 +584,7 @@ o3_fun void clear(int signed_color)
#pragma region JPG_load_and_save
#pragma endregion JPG_load_and_save
- oaaa3_set Buf srcJPG(const Buf &data)
+ o3_set Buf srcJPG(const Buf &data)
{
o3_trace_scrfun("srcJPG");
@@ -626,7 +626,7 @@ o3_fun void clear(int signed_color)
}
- oaaa3_fun Buf jpgBuffer()
+ o3_fun Buf jpgBuffer()
{
o3_trace_scrfun("jpgBuffer");
Buf Output;
Please sign in to comment.
Something went wrong with that request. Please try again.