Wrapper; Window; passing all of the window flags for config.

Wrapper; Float32Array; The constructor was using length as a bytelength, instead of vert length (to match the webGL spec)
This commit is contained in:
underscorediscovery
2013-12-11 21:59:10 -03:30
parent a08857f6f1
commit cc9ff9b882
6 changed files with 25 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ class ApplicationMain {
fullscreen : ::WIN_FULLSCREEN::,
resizable : ::WIN_RESIZABLE::,
borderless : ::WIN_BORDERLESS::,
aliasing : ::WIN_ANTIALIASING::,
antialiasing : ::WIN_ANTIALIASING::,
stencil_buffer : ::WIN_STENCIL_BUFFER::,
depth_buffer : ::WIN_DEPTH_BUFFER::,
vsync : ::WIN_VSYNC::,

View File

@@ -16,9 +16,16 @@
//Create the config from the project.nmml info
var config = {
width : ::WIN_WIDTH::,
height : ::WIN_HEIGHT::,
title : "::APP_TITLE::"
fullscreen : ::WIN_FULLSCREEN::,
resizable : ::WIN_RESIZABLE::,
borderless : ::WIN_BORDERLESS::,
antialiasing : ::WIN_ANTIALIASING::,
stencil_buffer : ::WIN_STENCIL_BUFFER::,
depth_buffer : ::WIN_DEPTH_BUFFER::,
vsync : ::WIN_VSYNC::,
width : ::WIN_WIDTH::,
height : ::WIN_HEIGHT::,
title : "::APP_TITLE::"
};
//Start up