Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97309 Details for
Bug 140471
GL applications wont run on voodoo3 xorg 7.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix texture alloc. problem with tdfx dri mesa driver
mesa_tdfx_texture.patch (text/plain), 1.38 KB, created by
Davide Cendron (RETIRED)
on 2006-09-18 00:59:04 UTC
(
hide
)
Description:
patch to fix texture alloc. problem with tdfx dri mesa driver
Filename:
MIME Type:
Creator:
Davide Cendron (RETIRED)
Created:
2006-09-18 00:59:04 UTC
Size:
1.38 KB
patch
obsolete
>--- src/mesa/drivers/dri/tdfx/tdfx_tex.c 2006/04/02 23:15:35 1.32 >+++ src/mesa/drivers/dri/tdfx/tdfx_tex.c 2006/04/03 21:28:07 1.33 >@@ -1357,10 +1357,11 @@ > 1, > internalFormat); > dstRowStride = _mesa_compressed_row_stride(internalFormat, mml->width); >- texImage->Data = _mesa_malloc(texImage->CompressedSize); >+ texImage->Data = _mesa_alloc_texmemory(texImage->CompressedSize); > } else { > dstRowStride = mml->width * texelBytes; >- texImage->Data = _mesa_malloc(mml->width * mml->height * texelBytes); >+ texImage->Data = _mesa_alloc_texmemory(mml->width * mml->height * >+ texelBytes); > } > if (!texImage->Data) { > _mesa_error(ctx, GL_OUT_OF_MEMORY, "glTexImage2D"); >@@ -1663,7 +1664,7 @@ > mml->height, > 1, > internalFormat); >- texImage->Data = _mesa_malloc(texImage->CompressedSize); >+ texImage->Data = _mesa_alloc_texmemory(texImage->CompressedSize); > if (!texImage->Data) { > _mesa_error(ctx, GL_OUT_OF_MEMORY, "glCompressedTexImage2D"); > return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140471
:
97308
| 97309