view shaders/default.v.glsl @ 501:e1355aa80f4d

Use OpenGL by default. Add OpenGL switch to help text
author Mike Pavone <pavone@retrodev.com>
date Tue, 29 Oct 2013 19:11:45 -0700
parents 251fe7a75a14
children b7b7a1cab44a
line wrap: on
line source

#version 110

attribute vec2 pos;
varying vec2 texcoord;

void main()
{
	gl_Position = vec4(pos, 0.0, 1.0);
	texcoord = sign(pos) * vec2(320.0/1024.0, 240.0/-512.0) + vec2(320.0/1024.0, 240.0/512.0);
}