Changeset 22776 in vbox for trunk/src/VBox/Frontends/VirtualBox/shaders/splitBGRA.c
- Timestamp:
- Sep 4, 2009 12:45:02 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51952
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/shaders/splitBGRA.c
r22640 r22776 1 2 float splitBGRA(vec4 color, float coord) 1 float vboxSplitBGRA(vec4 color, float coord) 3 2 { 4 3 int pix = int(coord); 5 4 float part = coord - float(pix); 6 /* todo: do not use if */7 5 if(part < 0.25) 8 6 return color.b;
Note:
See TracChangeset
for help on using the changeset viewer.