Mouse!
This commit is contained in:
@ -6,7 +6,7 @@ import {
|
||||
export {mainloop} from "./deps.ts";
|
||||
import { palette } from "./colors.ts";
|
||||
|
||||
const window = createWindow({
|
||||
export const gameWindow = createWindow({
|
||||
title: "Faux",
|
||||
width: 1024,
|
||||
height: 1024,
|
||||
@ -160,5 +160,5 @@ export const frame = () => {
|
||||
gl.EnableVertexAttribArray(0);
|
||||
gl.EnableVertexAttribArray(1);
|
||||
gl.DrawArrays(gl.TRIANGLES, 0, 6*pixelsPerRow*pixelsPerRow);
|
||||
window.swapBuffers();
|
||||
gameWindow.swapBuffers();
|
||||
}
|
||||
|
Reference in New Issue
Block a user