Mercurial > repos > blastem
view default.v.glsl @ 496:6fc71114d145
Extract function to determine executable directory from load_config so it can be used elsewhere
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Oct 2013 21:48:46 -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); }