source:
vbox/trunk/src/VBox/Frontends/VirtualBox/shaders/cconvBGR.c@
50883
Last change on this file since 50883 was 35579, checked in by , 14 years ago | |
---|---|
|
|
File size: 192 bytes |
Line | |
---|---|
1 | #extension GL_ARB_texture_rectangle : enable |
2 | uniform sampler2DRect uSrcTex; |
3 | void vboxCConv() |
4 | { |
5 | vec2 srcCoord = vec2(gl_TexCoord[0]); |
6 | gl_FragColor = texture2DRect(uSrcTex, srcCoord); |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.