456{
458
461 return;
462 }
463
466 return;
467 }
468
471 }
472
474
475 if (!
ctx->Current.RasterPosValid) {
476 return;
477 }
478 destx = (
GLint) (
ctx->Current.RasterPos[0] + 0.5F);
479 desty = (
GLint) (
ctx->Current.RasterPos[1] + 0.5F);
480
483 }
486 }
489 }
492 }
493 else {
495 }
496 }
499 color[0] =
ctx->Current.ByteColor[0] *
ctx->Visual->InvRedScale;
500 color[1] =
ctx->Current.ByteColor[1] *
ctx->Visual->InvGreenScale;
501 color[2] =
ctx->Current.ByteColor[2] *
ctx->Visual->InvBlueScale;
502 color[3] =
ctx->Current.ByteColor[3] *
ctx->Visual->InvAlphaScale;
505 ctx->Current.RasterPos[1],
506 ctx->Current.RasterPos[2],
507 ctx->Current.RasterPos[3],
509 ctx->Current.TexCoord );
510 }
513 }
514
515}
static void copy_ci_pixels(GLcontext *ctx, GLint srcx, GLint srcy, GLint width, GLint height, GLint destx, GLint desty)
static void copy_rgb_pixels(GLcontext *ctx, GLint srcx, GLint srcy, GLint width, GLint height, GLint destx, GLint desty)
static void copy_stencil_pixels(GLcontext *ctx, GLint srcx, GLint srcy, GLint width, GLint height, GLint destx, GLint desty)
static void copy_depth_pixels(GLcontext *ctx, GLint srcx, GLint srcy, GLint width, GLint height, GLint destx, GLint desty)
void gl_error(GLcontext *ctx, GLenum error, const char *s)
void gl_update_state(GLcontext *ctx)
void gl_feedback_vertex(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w, const GLfloat color[4], GLfloat index, const GLfloat texcoord[4])
void gl_update_hitflag(GLcontext *ctx, GLfloat z)
#define FEEDBACK_TOKEN(CTX, T)
GLuint GLuint GLsizei GLenum type
#define GL_INVALID_OPERATION
GLint GLint GLsizei GLsizei height
#define GL_COPY_PIXEL_TOKEN
GLint GLint GLsizei width
#define INSIDE_BEGIN_END(CTX)