Mercurial > repos > blastem
view default.v.glsl @ 495:39cad98d2789
Allow OpenGL support to be disabled at compile time. Move generic utility functions out of config.c
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Oct 2013 19:37:30 -0700 |
parents | 32f053ad9b02 |
children |
line wrap: on
line source
#version 110 attribute vec2 pos; varying vec2 texcoord; void main() { gl_Position = vec4(pos, 0.0, 1.0); texcoord = pos * vec2(320.0/1024.0, 240.0/-512.0) + vec2(320.0/1024.0, 240.0/512.0); }