mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-16 21:36:37 +02:00
testing/compiz: fix crash in vertexbuffer
* affected effect 'wobbly' when dragging a window outside the left or top screen boundaries
This commit is contained in:
parent
9732a629c2
commit
d0a0b3738f
2 changed files with 15 additions and 2 deletions
testing/compiz
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: leso-kn <info@lesosoftware.com>
|
||||
pkgname=compiz
|
||||
pkgver=0.9.14.2
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="OpenGL window and compositing manager"
|
||||
url="http://www.compiz.org/"
|
||||
arch="all"
|
||||
|
@ -101,7 +101,7 @@ sha512sums="
|
|||
669c32ad7e4428dbbc20bcc8f99764f2c0a28b0641b094fa89abcdf760df82d3fddaf1ac6b0596d0a80c1fe81e641c0ad64b550b93a6dfdf7f4759d687840a8f boost.patch
|
||||
2bbc6456deb85474416049eed194d5df7ec6c445f61c8f691f05f86cfee761cb634011fa658f2cd04c6740fea00400d536437bc7f210730f6651c490e96cb6c9 gtest.patch
|
||||
1b3ada1f7fe818cadff8729a3778f161776be4641e1bf36a2ab185921fbcff2e64b9a1d2576441913c7561e1d327612ebdd4a20fde9941a57b3f32e7084f444c libgen.patch
|
||||
aa6b4ba66b512d8cb09b17cd7e30a0ac2ed64ed11ef17613587c1b16c8c6146b2b526aba580b04db03f5b653c4c08ba0e7c57f2edd732a535db5da9f61c7b8f5 opengl.patch
|
||||
525cec925b490d567e2a29ef6aef0da6344f8b68a682a82d2dff9087c53ece5a901fe0b3fa87120babdbba368b7b46208f872cbea02b6fea93e55700604b1ff7 opengl.patch
|
||||
9dd0d4c2361fd56645d2f7b634dee32f1d44a67d36b53e550108acc78a8400bfd3c57132a8a029e9884b9f05cdd3a7533c65355d0a3dd80564544931eaced258 protobuf.patch
|
||||
2258ab2cf9cea0f3b16c0054b5471e89c11eb75b2dc337e4a2ad63d443435668f383e89e08903085ffc3de78816c41e1d3104e987d792fdf801be85e779faac3 startup-notification-long.patch
|
||||
"
|
||||
|
|
|
@ -58,3 +58,16 @@ index fcf19ca..39bf966 100644
|
|||
GL::bindTexImage = (GL::GLXBindTexImageProc)
|
||||
getProcAddress ("glXBindTexImageEXT");
|
||||
GL::releaseTexImage = (GL::GLXReleaseTexImageProc)
|
||||
diff --git a/plugins/opengl/src/vertexbuffer.cpp b/plugins/opengl/src/vertexbuffer.cpp
|
||||
index b102016..4e314c2 100644
|
||||
--- a/plugins/opengl/src/vertexbuffer.cpp
|
||||
+++ b/plugins/opengl/src/vertexbuffer.cpp
|
||||
@@ -164,7 +164,7 @@ void GLVertexBuffer::addVertices (GLuint nVertices, const GLfloat *vertices)
|
||||
|
||||
GLfloat *GLVertexBuffer::getVertices() const
|
||||
{
|
||||
- return &priv->vertexData[0];
|
||||
+ return priv->vertexData.data();
|
||||
}
|
||||
|
||||
int GLVertexBuffer::getVertexStride() const
|
||||
|
|
Loading…
Add table
Reference in a new issue