mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
Make NewFaceFromFace const-correct
This commit is contained in:
parent
6c89883c8f
commit
6ce7c5040b
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ struct surface_s *BuildSurfaces (void);
|
|||
\return The new face.
|
||||
|
||||
*/
|
||||
struct visfacet_s *NewFaceFromFace (struct visfacet_s *in);
|
||||
struct visfacet_s *NewFaceFromFace (const struct visfacet_s *in);
|
||||
|
||||
/** Convert a brush-set to a list of clipped faces.
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ int csgfaces;
|
|||
int csgmergefaces;
|
||||
|
||||
face_t *
|
||||
NewFaceFromFace (face_t *in)
|
||||
NewFaceFromFace (const face_t *in)
|
||||
{
|
||||
face_t *newf;
|
||||
|
||||
|
|
Loading…
Reference in a new issue