Mercurial > repos > blastem
view shaders/default.v.glsl @ 502:7fdfcced65b6
Fix allocation and memset size for field buffers when using OpenGL
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 29 Oct 2013 23:13:15 -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); }