source:
vbox/trunk/src/VBox/Frontends/VirtualBox/shaders/cconvBGR.c@
35519
Last change on this file since 35519 was 35519, 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.