ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

static void apply_src_rep ( GLint  optype,
GLuint  rep,
GLfloat val 
) [static]

Definition at line 101 of file s_atifragshader.c.

Referenced by execute_shader().

{
   GLint i;
   GLint start, end;
   if (!rep)
      return;

   start = optype ? 3 : 0;
   end = 4;

   for (i = start; i < end; i++) {
      switch (rep) {
      case GL_RED:
     val[i] = val[0];
     break;
      case GL_GREEN:
     val[i] = val[1];
     break;
      case GL_BLUE:
     val[i] = val[2];
     break;
      case GL_ALPHA:
     val[i] = val[3];
     break;
      }
   }
}

Generated on Sat May 26 2012 04:58:17 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.