projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Don't allow snorm internal formats in glCopyTexImage*() in GLES3
[mesa.git]
/
src
/
mesa
/
main
/
drawtex.c
diff --git
a/src/mesa/main/drawtex.c
b/src/mesa/main/drawtex.c
index d5cac22bd3bd89f57d59c69fbe1424d77a463851..7c0ec832bb9e584a47f2979ca569a7bb9df1d401 100644
(file)
--- a/
src/mesa/main/drawtex.c
+++ b/
src/mesa/main/drawtex.c
@@
-24,7
+24,6
@@
#include "main/drawtex.h"
#include "main/state.h"
#include "main/imports.h"
#include "main/drawtex.h"
#include "main/state.h"
#include "main/imports.h"
-#include "main/mfeatures.h"
#include "main/mtypes.h"
#include "main/mtypes.h"
@@
-55,7
+54,7
@@
draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
void GLAPIENTRY
void GLAPIENTRY
-_mesa_DrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height)
+_mesa_DrawTexf
OES
(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height)
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, x, y, z, width, height);
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, x, y, z, width, height);
@@
-63,7
+62,7
@@
_mesa_DrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height)
void GLAPIENTRY
void GLAPIENTRY
-_mesa_DrawTexfv(const GLfloat *coords)
+_mesa_DrawTexfv
OES
(const GLfloat *coords)
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]);
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]);
@@
-71,7
+70,7
@@
_mesa_DrawTexfv(const GLfloat *coords)
void GLAPIENTRY
void GLAPIENTRY
-_mesa_DrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height)
+_mesa_DrawTexi
OES
(GLint x, GLint y, GLint z, GLint width, GLint height)
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z,
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z,
@@
-80,7
+79,7
@@
_mesa_DrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height)
void GLAPIENTRY
void GLAPIENTRY
-_mesa_DrawTexiv(const GLint *coords)
+_mesa_DrawTexiv
OES
(const GLint *coords)
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
@@
-89,7
+88,7
@@
_mesa_DrawTexiv(const GLint *coords)
void GLAPIENTRY
void GLAPIENTRY
-_mesa_DrawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height)
+_mesa_DrawTexs
OES
(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height)
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z,
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) x, (GLfloat) y, (GLfloat) z,
@@
-98,7
+97,7
@@
_mesa_DrawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height)
void GLAPIENTRY
void GLAPIENTRY
-_mesa_DrawTexsv(const GLshort *coords)
+_mesa_DrawTexsv
OES
(const GLshort *coords)
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
{
GET_CURRENT_CONTEXT(ctx);
draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],